Update setup.py

This commit is contained in:
Kenneth Reitz 2017-08-28 21:46:40 -04:00 committed by GitHub
parent b171853b94
commit 9eead6a3b2

View File

@ -30,15 +30,15 @@ required = [
# 'requests', 'maya', 'records',
]
# Support "$ setup.py publish".
if sys.argv[-1] == "publish":
os.system("{0} setup.py sdist bdist_wheel upload".format(sys.executable))
sys.exit()
# Dependencies only for versions less than Python 2.7:
# if sys.version_info < (2, 7):
# required.append('requests[security]')
# Support "$ setup.py publish".
if sys.argv[-1] == "publish":
os.system("{0} setup.py sdist bdist_wheel upload".format(sys.executable))
sys.exit()
# Where the magic happens:
setup(
name=NAME',