Build from source¶
Dependencies and requirements¶
- CPython 3.10 or later.
- A Rust toolchain, version 1.85 or later (for example, installed with rustup).
- uv (recommended) or
pip.
The Python extension is built with maturin, which uv and pip
install automatically as the build backend.
Build and install¶
-
Clone the repository:
-
Build the package:
-
(Optionally) Test t-boost.
Build a wheel package¶
To build a wheel package from a local copy of the repository, run the following command in its root directory:
The resulting wheel is written to the dist directory and can be installed with uv pip
install or pip install.