We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24372ec commit 75ff754Copy full SHA for 75ff754
setup.py
@@ -48,8 +48,11 @@ def get_package_data(package):
48
if os.system("pip freeze | grep wheel"):
49
print("wheel not installed.\nUse `pip install wheel`.\nExiting.")
50
sys.exit()
51
- os.system("python setup.py sdist upload")
52
- os.system("python setup.py bdist_wheel upload")
+ if os.system("pip freeze | grep twine")
+ print("twine not installed.\nUse `pip install twine`.\nExiting.")
53
+ sys.exit()
54
+ os.system("python setup.py sdist bdist_wheel")
55
+ os.system("twine upload dist/*")
56
print("You probably want to also tag the version now:")
57
print(" git tag -a %s -m 'version %s'" % (version, version))
58
print(" git push --tags")
0 commit comments