The following sections will help you set up your development environment and get started on your contribution.
pre-commit
>=2.19.0
Changes have been tested with the following dependency versions:
numpy>=1.21.4
matplotlib>=3.5.2
opencv-contrib-python-headless>=4.5.4.60
scikit-learn>=1.0.2
torch>=1.10.0
torchvision>=0.11.1
Install dependencies
sudo ./script/bootstrap
Refer to lrp.ipynb for an example.
Lint all files manually:
pre-commit run --all-files
-
Configure PyPI credentials in
$HOME/.pypirc
-
Bump version in setup.cfg
-
Bump version in README.md
-
Create GitHub release. Example
-
Update zenodo links in README.md
-
Build and upload package
./script/build ./script/upload
Full documentation here.
- The structure of this readme is based on minimal-readme