To build the package, run: Install tool build pip install --upgrade build twine Build package python -m build Publish package python -m twine upload dist/* __token__ -p your-pypi-token