changeset 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 a2a46d1774f5
children eacacee352f7
files monkeys/release.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/monkeys/release.py	Thu Nov 01 22:03:34 2018 -0700
+++ b/monkeys/release.py	Wed Nov 07 23:18:53 2018 -0800
@@ -17,7 +17,8 @@
         run("hg tag %s" % version)
 
         # PyPi upload.
-        run("python setup.py sdist upload")
+        run("python setup.py sdist bdist_wheel")
+        run("twine upload dist/Wikked-%s.tar.gz" % version)
     else:
         print("Would tag repo with %s..." % version)
         print("Would upload to PyPi...")