-
Notifications
You must be signed in to change notification settings - Fork 12
Release
-
Ensure the version string in setup.py is up to date. See PEP 440 for version string formatting.
-
Ensure that the version string in setup.cfg matches. This line ensures that online documentation points to the correct package version. Updating these values will overwrite their assignment in
doc/conf.py
. -
Ensure that the copyright and authors are updated in
doc/conf.py
. Note that you can test the build withpython setup.py build_sphinx --build-dir doc/_build
. -
Ensure that requirements.txt is updated. readthedocs is configured to use this as the requirements file (this needs to be set in the advanced settings of readthedocs).
-
Ensure that the web hook for readthedocs is configured to activate on release events.
-
Draft a new release. If
VERSION
is the setup.py version string, then:- the "Tag version" should be
vVERSION
- the "Release title" should be
VERSION
Briefly describe the release. Note any new features or backward incompatible changes. It's nice to cite the efforts of community contributors here, too.
- the "Tag version" should be
-
Click "Publish release".
- Update the PyPI cytominer-database package to new release version by following these steps but with one exception.
- Run
python setup.py sdist bdist_wheel build_sphinx --build-dir doc/_build
- Run
- When installing the package from test.pypi.org use
pip install cytominer-database==<VERSION> --extra-index-url=https://test.pypi.org/simple/
. The instructions on Test PyPi to install are wrong. - Ensure the package is on PyPI.
We also support conda package management on conda-forge.
- The cytominer-database conda package is maintained on an auto-generated feedstock.
- To update the cytominer-database feedstock for a new release version, follow the steps outlined in the conda-forge community guidelines.
Our documentation is built automatically using sphinx.
- Ensure the documentation is updated, you may need an administrator to activate the built version.