Update setup.py
This commit is contained in:
parent
e8e86c6612
commit
b171853b94
10
setup.py
10
setup.py
@ -25,16 +25,16 @@ about = {}
|
|||||||
with open(os.path.join(here, NAME, "__version__.py")) as f:
|
with open(os.path.join(here, NAME, "__version__.py")) as f:
|
||||||
exec(f.read(), about)
|
exec(f.read(), about)
|
||||||
|
|
||||||
# Support "$ setup.py publish".
|
|
||||||
if sys.argv[-1] == "publish":
|
|
||||||
os.system("{0} setup.py sdist bdist_wheel upload".format(sys.executable))
|
|
||||||
sys.exit()
|
|
||||||
|
|
||||||
# What packages are required for this module to be executed?
|
# What packages are required for this module to be executed?
|
||||||
required = [
|
required = [
|
||||||
# 'requests', 'maya', 'records',
|
# '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:
|
# Dependencies only for versions less than Python 2.7:
|
||||||
# if sys.version_info < (2, 7):
|
# if sys.version_info < (2, 7):
|
||||||
# required.append('requests[security]')
|
# required.append('requests[security]')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user