To release a new version of this to PyPI you should use the depop
PyPI user account.
If you already have your own personal PyPI account you probably have that saved in your /.pypirc
file.
In order to release to PyPI under a different user you need to:
pip install twine
- create a
.pypirc
file in the project root containing thedepop
username and password rm dist/*
(remove old versions to simplify step 5)python setup.py sdist
twine upload --config-file=.pypirc dist/*
Since recent changes to PyPI you need to have the following section in your .pypirc
file for twine upload to work:
[pypi]
repository:https://upload.pypi.org/legacy/