Skip to content

Release process

Guillaume Fraux edited this page Apr 29, 2021 · 1 revision
  • Install maintainer tools: pip install twine wheel
  • Increment version number (in skcosmo/__init__.py)
  • Commit & tag as vX.Y.Z, push commit and tag (git push && git push --tags)
  • Check documentation build for the tag on RTD
  • Remove local dist & build folder: rm -rf build dist
  • Create sdist with python setup.py sdist
  • Create wheel with python setup.py bdist_wheel
  • Check sdist and wheel within a new virtual environment (pip install ./dist/skcosmo-X.Y.Z.tar.gz), run tests)
  • Upload the release to the PyPI test server, using twine
    • twine upload --repository testpypi dist/*
  • Upload the release to the PyPI real server
    • twine upload dist/*
  • Celebrate 🎉 🎉
Clone this wiki locally