For development, manual installation is the easiest way to stay up-to-date:
pip install -e .[extras]In addition to the standard dependencies, please install the following:
pip install sphinx, sphinx-book-theme # for generating documentation
pip install pytest-cov # for coverage report
# install poetry for packaging and publishing to PyPI
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -The pyproject.toml is set up using poetry.
Build via poetry build, and publish via poetry publish. There are automatic workflows in place to build and publish on new package revisions.
To enable manual installation with poetry, we also include a setup.py which needs to be kept up-to-date.
The documentation can be built using sphinx via:
cd docs
make htmlTo clean up:
make clean
rm -rf _autosummary # optionalTo publish:
git subtree push --prefix docs/_build/html/ origin gh-pages