Follow these steps when deploying a new version to Pypi
- Remove
.dev
tag from version number insetup.py
- Add release notes for the new version in
RELEASE.txt
- Run the following commands to upload the new version to pypi
pip install -U twine
python setup.py sdist
pip install wheel
python setup.py bdist_wheel
twine upload dist/*
- Check pypi.python.org that the new version is present.
- Increment version number and give
.dev
tag.
We use semver for versioning as best as we know how. The current working development should be labeled with a .dev
tag.
Helpful instructions can be found here