1.5 KiB
1.5 KiB
Release Checklist
- Switch to the master branch and stash any uncommited changes.
- Bump the version number in rtv/__version__.py.
- Update the release notes in the CHANGELOG.rst.
- Update the contributer list by running
scripts/build_authors.py. - Re-generate the manpage by running
scripts/build_manpage.py. - Make sure the bundled packages are up-to-date by running
scripts/update_packages.py. - Commit all changes to the master branch.
- Clean out any old build/release files by running
scripts/pip_clean.py. - Build the source tarball and binary wheel:
$ python3 setup.py sdist bdist_wheel - Upload the packages to PyPI:
$ twine upload dist/* - Verify that the upload was successful:
$ pip install rtv --upgrade --force-reinstall - Smoke test the new release on Python 2 and Python 3.
- Create a new release on Github and copy the release notes from the changelog.
- Use Github to delete any old branches that have been merged.
Packaging Guide
The most up-to-date and pragmatic guide on packaging for PyPI is given here (as of Fall 2017):
https://packaging.python.org/tutorials/distributing-packages/
PyPI Credentials
PyPI credentials are stored in plaintext in the ~/.pypirc file.
[pypi]
username = michael-lazar
password = secret