mirror of
https://github.com/cberner/raptorq.git
synced 2024-06-30 18:51:43 +00:00
78ed43ac72
* Add CPython wrapper * Add CPython wrapper to build pipeline * Don't use Travis CI matrix expansion * Install maturin and add cache * Install Python * Install fix incorrect package name 'pip3' * Update package list * Split build in two jobs * Don't cache as installing lichking will error otherwise * Don't lint on nightly * Add Python tests * Add venv * Fix execution order * Run linter * Run linter |
||
---|---|---|
.. | ||
.cargo | ||
src | ||
test | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
Makefile | ||
pyproject.toml | ||
README.md |
The Python bindings are generated using pyo3. Rust 1.37.0-nightly or higher is required for building pyo3 projects.
$ rustup install nightly
$ rustup override set nightly
Some operating systems require additional packages to be installed.
$ sudo apt install python3-dev
maturin is recommended for building this crate.
$ pip install maturin
$ maturin build
Alternatively, refer to the Building and Distribution section in the pyo3 user guide.