This project uses a modern PEP 621 pyproject.toml with the Hatchling build backend. Below are the steps to build and publish to PyPI using uv-ship.
- Python 3.11+
uvinstalled (https://github.com/astral-sh/uv)uv-shipinstalled (viauv tool install uv-ship)- PyPI accounts and API tokens for TestPyPI and/or PyPI
uv run pytest- Optionally:
uv run nox
uv-ship next <type>where type is major|minor|patch- Follow the prompts and release the new version to Github
rm -rf distuv builduvx twine upload dist/*