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.
twine check
1 parent c04d6ea commit e36ba9cCopy full SHA for e36ba9c
setup.py
@@ -56,6 +56,10 @@ def get_version(package):
56
print("twine not installed.\nUse `pip install twine`.\nExiting.")
57
sys.exit()
58
os.system("python setup.py sdist bdist_wheel")
59
+ if os.system("twine check dist/*"):
60
+ print("twine check failed. Packages might be outdated.")
61
+ print("Try using `pip install -U twine wheel`.\nExiting.")
62
+ sys.exit()
63
os.system("twine upload dist/*")
64
print("You probably want to also tag the version now:")
65
print(" git tag -a %s -m 'version %s'" % (version, version))
0 commit comments