mirror of
https://github.com/kennethreitz/setup.py.git
synced 2026-06-05 23:10:17 +00:00
Merge pull request #6 from hobarrera/dont-switch-pythons
Avoid switching python interpreter when publishing
This commit is contained in:
@@ -27,7 +27,7 @@ with open(os.path.join(here, NAME, "__version__.py")) as f:
|
||||
|
||||
# Support "$ setup.py publish".
|
||||
if sys.argv[-1] == "publish":
|
||||
os.system("python setup.py sdist bdist_wheel upload")
|
||||
os.system("{} setup.py sdist bdist_wheel upload".format(sys.executable))
|
||||
sys.exit()
|
||||
|
||||
# What packages are required for this module to be executed?
|
||||
|
||||
Reference in New Issue
Block a user