Create a virtualenv and install the requirements available at requirements/requirements-packaging.txt
pip install -r requirements/requirements-packaging.txt
Then, you'll need to configure your PyPI user account in your system, as described here.
After you have successfully made and tested changes for this project, do the following:
- Update the necessary release information in
setup.py
such as: version number and download link. - Commit all changes and create a tag
git tag -a '0.1.2' -m 'Small documentation adjustments'
. - Push to origin
git push --tags
. - Create distribution
python setup.py sdist bdist_wheel
. - Upload distribution
twine upload dist/*
.