summaryrefslogtreecommitdiff
path: root/scripts/internal
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2018-06-29 00:50:08 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2018-06-29 00:50:08 +0200
commit05066d9744f0b981f612c71eecace817a2ba7a08 (patch)
treeaadbe9db6ad933b98c7e1cf575dcf527e73cfbf9 /scripts/internal
parent2f60e997fc1c500e0c245979bbecf2761f36e820 (diff)
downloadpsutil-05066d9744f0b981f612c71eecace817a2ba7a08.tar.gz
winmake: add upload-wheels cmd
Diffstat (limited to 'scripts/internal')
-rwxr-xr-xscripts/internal/winmake.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py
index ff3a6489..ffdfc291 100755
--- a/scripts/internal/winmake.py
+++ b/scripts/internal/winmake.py
@@ -228,6 +228,13 @@ def wheel():
@cmd
+def upload_wheels():
+ """Upload wheel files on PYPI."""
+ build()
+ sh("%s -m twine upload dist/*.whl" % PYTHON)
+
+
+@cmd
def install_pip():
"""Install pip"""
try: