So excited to have you here! If you want any guidance whatsoever, don't hesitate to reach out on Discord!
The first step is clone DisCoPy and install it locally.
git clone https://github.com/discopy/discopy.git
cd discopy
pip install .
Then you should check you haven't broken anything by running the test suite:
pip install ".[test]"
pycodestyle discopy
coverage run -m pytest
coverage report -m --fail-under=99
You can build the documentation locally with sphinx:
pip install ".[docs]"
sphinx-build docs docs/_build/html
New versions (tag with 'X.X.X') of the package are released on PyPI using twine
.
You should run the following commands from a clean clone of the repo:
pip install twine
pip install 'build<0.10.0'
git tag X.X.X
git push origin --tags
python -m build
twine upload dist/*
Finally, create a release for the newly created tag.