- Python
- Twine (
pip install twine
) - wheel (
pip install wheel
) - .pypirc
Create a .pypirc
file in your home directory:
[pypi]
username = Pusher
password = <password is in LastPass>
- Update all references to old version (e.g. in setup.py)
- Update Changelog
- Commit changes with message "Bump version to x.y.z"
- Push changes
- Create Github release
$ python setup.py sdist bdist_wheel
$ twine upload --repository-url https://test.pypi.org/legacy/ dist/*
(Then check that this worked at https://test.pypi.org/project/pusher-push-notifications/)
$ twine upload ./dist/*