Skip to content

How to upload a new version to PyPI

Marco Tazzari edited this page Nov 21, 2018 · 3 revisions

The following steps need to be performed if you want to publish a new version to PyPI.

  1. Update the version (in uvplot/_version.py).
  2. 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.
  3. Open a terminal and go into the project's root dir (where setup.py is located)
  4. python setup.py sdist to create a tar with all the package files.
  5. Check the resulting files, especially the egg file: are all the files contained?
  6. 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

Clone this wiki locally