pip install bumpver build twine
How to update the project:
-
Increment version
git checkout main git pull bumpver update --patch # or --minor or --major git push git push --tags
-
Build and upload to PyPI
python -m build twine check dist/* twine upload dist/* # user: ct2034_0
https://realpython.com/pypi-publish-python-package/#build-your-package