comparison monkeys/release.py @ 491:68b3cee3c805

cm: Use `twine` to deploy Wikked to Pypi.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 07 Nov 2018 23:18:53 -0800
parents 5955eb74b1c2
children
comparison
equal deleted inserted replaced
490:a2a46d1774f5 491:68b3cee3c805
15 if not local_only: 15 if not local_only:
16 # Tag in Mercurial, which will then be used for PyPi version. 16 # Tag in Mercurial, which will then be used for PyPi version.
17 run("hg tag %s" % version) 17 run("hg tag %s" % version)
18 18
19 # PyPi upload. 19 # PyPi upload.
20 run("python setup.py sdist upload") 20 run("python setup.py sdist bdist_wheel")
21 run("twine upload dist/Wikked-%s.tar.gz" % version)
21 else: 22 else:
22 print("Would tag repo with %s..." % version) 23 print("Would tag repo with %s..." % version)
23 print("Would upload to PyPi...") 24 print("Would upload to PyPi...")