Skip to content

Release

Bobby Galli edited this page Apr 1, 2021 · 2 revisions

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)

  1. Updated version info in setup.py, setup.cfg and __init__.py
  2. Add a git tag git tag v{Major}.{Minor}.{Patch}
  3. Build the package python3 -m build
  4. Publish the package to pip python3 -m twine upload dist/*
Clone this wiki locally