This crate uses PyO3 to provide Python bindings to PineAPPL's Rust API.
For installation instructions see the documentation.
Run
python -m venv env && . env/bin/activate
to setup a new environment and check that pip --version
returns at least pip 22.0 from ...
. If not, upgrade pip
via
pip install -U pip
Next, install maturin
:
pip install maturin
Run
maturin develop
to build the project, which also installs it into the environment so that it can be used in Python projects that use the same environment.
Run the following once to install the documentation's dependencies:
pip install '.[docs]'
Then run
( cd docs && make clean html )
to generate the documentation.