Followed this tutorial https://packaging.python.org/en/latest/tutorials/packaging-projects/ The pwd is on my google Dont forget to update the version number in pyproject.toml -- currently is 0.0.2 And to change the testpipy to pipy in the twine upload And to skip existing versions with python3 -m twine upload --skip-existing --repository pypi dist/*
Steps
- Change version in pyproject.toml
- Build with
- python3 -m build
- deploy with
- python3 -m twine upload --skip-existing --repository pypi dist/* ``
Following this tutorial https://docs.readthedocs.io/en/stable/tutorial/ Sign with Github To build locally sphinx-build -a docs/source/ docs/build