This is reference material for local development.

If you just want to use the library, you don’t need any of this.

Build Documentation

from the docs directory, run:

make html

Then open the documentation:

open _build/html/index.html

Build the distributable for PyPi

(From the PyPi tutorial)

Make sure the necessary dependencies are installed.

pip3 install --upgrade setuptools wheel twine

Build the project. From the project root folder, run:

python3 sdist bdist_wheel

Upload it to the testing index:

python3 -m twine upload --repository-url dist/*

Upload it to the actual index:

python3 -m twine upload dist/*