Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 821 Bytes

File metadata and controls

35 lines (23 loc) · 821 Bytes

Package Maintenance

Development Environment

First, install uv.

Set up

uv sync
uv tree

Maintenance

Test code

uv run pytest

Test with each Python version

./bin/test-all.sh

Lint code

uv run bin/lint.sh

Build artifacts

uv build

Publish

Bump package version

uv version --bump [major|minor|patch]
V=v$(uv version --short) && git add pyproject.toml uv.lock && git commit -m $V && git tag -a -m $V $V

Authenticate

See the PyPI docs to generate a token. See the uv docs for options to configure the token.

Upload

rm -f dist/* && uv build && uv publish --token pypi-………