Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.43 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.43 KB

PyPI version Anaconda-Server Badge AUR Documentation Status

Python bindings for PineAPPL

This crate uses PyO3 to provide Python bindings to PineAPPL's Rust API.

For installation instructions see the documentation.

Development

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.

Documentation

Run the following once to install the documentation's dependencies:

pip install '.[docs]'

Then run

( cd docs && make clean html )

to generate the documentation.