-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
Description
Create Python bindings to call libmicrovmi from Python
TODO (updated):
- decide how to integrate this new library in our build system
- expose
DriverType
andDriverInitParam
- expose
read_physical
- package and upload to PyPI
- update
setup.py
to accept--features
parameter, and set features inRustExtension
- create new Dockerfile based on
quay.io/pypa/manylinux2014_x86_64
and install all the drivers required development headers - update
build-wheels.sh
to accept--features
and pass them tosetup.py
- read all relevant fields of
python/Cargo.toml
to fillsetup.py
metadata
We should use the rust-cpython
project
rust-cpython will help us to generate a Python extension module, wrapping the libmicrovmi Rust API.
how to integrate this new library
- create a separate repository
- use cargo workspace to manage both Rust library and Python extension in the same git repository, in tandem.
- maybe generate both with the same cargo.toml (I doubt this is possible)
@rageagainsthepc if you have an opinion