Skip to content

Commit

Permalink
winmake: add upload-wheels cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Jun 28, 2018
1 parent 2f60e99 commit 05066d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ psutil currently supports the following platforms:

- **Linux**
- **Windows**
- **macOS**,
- **macOS**
- **FreeBSD, OpenBSD**, **NetBSD**
- **Sun Solaris**
- **AIX**
Expand Down
7 changes: 7 additions & 0 deletions scripts/internal/winmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,13 @@ def wheel():
sh("%s setup.py bdist_wheel" % PYTHON)


@cmd
def upload_wheels():
"""Upload wheel files on PYPI."""
build()
sh("%s -m twine upload dist/*.whl" % PYTHON)


@cmd
def install_pip():
"""Install pip"""
Expand Down

0 comments on commit 05066d9

Please sign in to comment.