Skip to content
Myr

added setup.py test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 9f9ebec · Browse files · 1 file+7 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−6 removed

  • other:+7 added−6 removed

1 file+7 added−6 removed

modified:setup.py+7 added-6 removed
5 unmodified lines
67from distutils.core import setup8910def publish():11 """Publish to PyPi"""12 os.system("python setup.py sdist upload")1310 11if sys.argv[-1] == "publish":15 publish()12 os.system("python setup.py sdist upload")13 sys.exit()1415if sys.argv[-1] == "test":16 os.system("python test_requests.py")17 sys.exit()18 19required = []2021# if python > 2.6, require simplejson2223setup(24 name='requests',25 version='0.2.1',25 description='Python HTTP Library that\'s actually usable.',26 description='Awesome Python HTTP Library that\'s actually usable.',27 long_description=open('README.rst').read() + '\n\n' +28 open('HISTORY.rst').read(),29 author='Kenneth Reitz',30 author_email='me@kennethreitz.com',
21 unmodified lines