To develop and test, see the "Developer Installation" in the README.
To publish:
- Edit
pyproject.tomlto bump version - Update README.md (use
pydoc blink1.blink1.Blink1 > api.txtto generate new API ref) - Check can build with
python3 -m build - Check changes into git
- Publish to PyPI with: (must have pypi API token handy)
python3 -m pip install --upgrade twine
python3 -m build
# to test
python3 -m twine upload --repository testpypi dist/*
# for reals
python3 -m twine upload dist/*
- Verify new version on PyPi: https://pypi.org/project/blink1/