cleaner setup.py

This commit is contained in:
Kenneth Reitz
2011-09-07 18:10:58 -04:00
parent 46e01db785
commit 45fabf4b96
+4 -4
View File
@@ -12,12 +12,12 @@ except ImportError:
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
if 'publish' in sys.argv:
os.system('python setup.py sdist upload')
sys.exit()
if sys.argv[-1] == "test":
os.system("python test_requests.py")
if 'test' in sys.argv:
os.system('python test_requests.py')
sys.exit()
required = []