Project Maintenance¶
This page contains documentation for researchers who are maintaining their own repository of the project.
Releasing on PyPI¶
The repository contains a workflow that automatically uploads a published GitHub release to PyPI.
Configuration¶
Note
You can skip this step if your repository is already configured and you want to go straight to the process of publishing a release.
- Make necessary changes to setup.py. The fields
author
,author_email
, andurl
should be the most interesting. You’ll probably also need to change thename
field to make uploading to PyPI possible. - On GitHub, go to the action secrets settings and add your PyPI API token as
PYPI_PASSWORD
.
Publishing a Release¶
- In setup.py, change the field
version
to the version number of your release. Look at this page if you’re unsure. - Make sure actions are enabled.
- Create a new release on GitHub, preferably using a tag with the same version number from before, and publish it. You can check the PyPI release workflow here. If a green tick shows up, the PyPI release should be up!