Files
PyGithub/DEPLOY.md
T
Steve Kowalik b7894ea00c Drop Python 2 support (#1329)
With the Python 2 deadline gone, it's time to move with the times and
switch to Python 3 only.
2020-01-06 18:01:38 +11:00

729 B

Upload a new version to PyPI

Travis-ci will push tagged commits to PyPI. Here are the steps:

  1. Run manage.py
./manage.sh publish
Next version number? (previous: 'XXX')
  1. Give the new version number based on previous version (see semantic release)

  2. Now the push will be on hold until you press Enter. Manually inpect the changelog (doc/changes.rst) to make changes if necessary. Once you are sure, go back and press Enter.

  3. Once the travis job (Python 3.5) is done, the new version should be uploaded to PyPI.

  4. Update the Github release page with the same release note from doc/changes.rst. (needed for some web spiders for changelog parsing)