-
-
Notifications
You must be signed in to change notification settings - Fork 1
Release
Bobby Galli edited this page Apr 1, 2021
·
2 revisions
- 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
twine upload dist/*