-
Notifications
You must be signed in to change notification settings - Fork 6
Release Procedure
Daniel Silverman edited this page Jun 11, 2014
·
3 revisions
- If you are not a maintainer on PyPI, register an account and ask for appropriate permissions from a developer who is.
- Merge releases changes into the stable branch
- Update the version in
nepho/__init__.py
- Add change information to
CHANGES.txt
- If necessary updates the
README.rst
- Update the version in
- If you have not done a release before, push at least one RC (release candidate) to test the procedure
- Edit the version in
nepho/__init__.py
, e.g. 1.0.0rc1. - Run the command to create and upload a package:
python setup.py register sdist upload
- Browse to the PyPI nepho page to view your release, making sure it contains some files
- Delete your RC from PyPI
- Edit the version in
- Create a release tag, e.g.
git tag 1.0.0
- Push the release tag to GitHub:
git push --tags
- Create and upload the release:
python setup.py register sdist upload
- Browse to the PyPI nepho page to view your release, making sure it contains some files