How to release - sid5432/pyOTDR GitHub Wiki

How to create a release to publish to pypi.org

  • create a branch "release-xxx"
  • bump version in setup.py
  • make a PR, merge it to master
  • install dev requirements: pip install -U -r dev-requirements.txt
  • build python -m build
  • check build twine check dist/*
  • push twine upload dist/*
  • in Github create a release, based on master.