Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 884 Bytes

release.md

File metadata and controls

18 lines (16 loc) · 884 Bytes

Pypi

For information about packaging on PyPi see https://packaging.python.org/en/latest/tutorials/packaging-projects/. First, clear /dist and then build the project using py -m build. Then, using twine prepare a test release with py -m twine upload --repository testpypi dist/*, this will prepare a link to the testing version index of pypi. Install and test package from this index. If all goes well, then prepate a release for the offical index, using py -m twine upload dist/*.

Checklist

  • run tests and ensure all tests pass
    • remenber to adjust the run slow test variable in tests/init.py
  • move version number in pyproject.toml
  • update version in init.py of pmkoalas
  • ensure the module build is up to date on local python
  • check that all submodules are mentioned in the pyproject toml section 'tool.setuptools'.
  • clear dist
  • build project