Make sure packaging tools are up to date.
. venv/bin/activate
pip install --upgrade pip
pip install --upgrade twine
pip install --upgrade setuptools wheel
Bump version; document changes.
vim setup.py
vim Changelog
git tag v?.?.?
git commit -m "release version v?.?.?" Changelog setup.py
Package release.
python3 setup.py sdist bdist_wheel
Upload files.
python3 -m twine upload dist/*