Release - BugSplat-Git/bugsplat-py GitHub Wiki
Release
Prerequisites
- Download and install Python (don't use the MacOS version!)
- Ensure you have an API token in your
~/.pypirc file. link
- Install build
python3 -m pip install --upgrade build
- Install twine
python3 -m pip install --user --upgrade twine
Steps (ref)
- Updated version info in
setup.py, setup.cfg and __init__.py
- Add a git tag
git tag v{Major}.{Minor}.{Patch}
- Build the package
python3 -m build
- Publish the package to pip
python3 -m twine upload dist/*