How to publish to PyPi If present delete dist folder If not done yet, install build and twine via pip install build twine Update the version in modflowapi/version.py Re-create the wheels: python -m build Re-upload the new files: twine upload dist/*