-
Notifications
You must be signed in to change notification settings - Fork 10
How to upload a new version to PyPI
Marco Tazzari edited this page Nov 20, 2018
·
3 revisions
The following steps need to be performed if you want to publish a new version to PyPI.
- Update the version in
uvplot/_version.py
. - If you added new, non-Python files to the project that need to be distributed as well, e.g., configuration files, add them to
MANIFEST.in
. - Open a terminal and go into the project's root dir (where
setup.py
is located) python setup.py sdist
- Check the resulting files, especially the egg file: are all the files contained?
- If everything is ok, upload the new version to PyPI:
python setup.py sdist upload
From: https://github.com/fhamborg/news-please/wiki/PyPI---How-to-upload-a-new-version