-
Notifications
You must be signed in to change notification settings - Fork 25
Releasing new versions to PyPI
Romain Yon edited this page Apr 27, 2018
·
6 revisions
- Make sure you have the appropriate credentials in your
~/.pypirc
.
Your ~/.pypirc
file might look like this:
➜ cat ~/.pypirc
[distutils]
index-servers =
pypi
[pypi]
repository: https://upload.pypi.org/legacy/
username: johndoe
password: definitelyagreatpassword
- Update and tag release
git commit --allow-empty -m "Release v?.?.?"
git tag ?.?.?
git push --tags origin master
-
Double check that CircleCI build is happy
-
Release to PyPI
python setup.py sdist upload -r pypi