Skip to content

Making a release

Craig Macdonald edited this page Mar 24, 2021 · 13 revisions
  • Bump the version in pyterrier/__init__.py
  • Run python setup.py sdist to generate a .tar.gz file in the dist folder
  • Ensure you can install the .tar.gz file, pip install dist/*.tar.gz
  • Commit pyterrier/__init__.py and push to github
  • Run the pypi packaging github action while ensuring that the releasetype input is set to 'test'
  • Use a colab instance to test install the test release - one cell containing !pip install http://path/to/tesdt pypi.tar.gz
  • Run the pypi packaging github action while ensuring that the releasetype input is set to 'release'
  • Use a colab instance to test install the final release - !pip install python-terrier
Clone this wiki locally