diff --git a/Cargo.toml b/Cargo.toml index fd85110..a9831a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ serde = { version = "1.0", features = ["derive"] } serde_derive = "1.0" serde_json = "1.0" thiserror = "1.0.49" -uniffi = "0.24.1" +uniffi = "0.24.3" [build-dependencies] uniffi = { version = "0.24.1", features = ["build"] } diff --git a/README.md b/README.md index 4f4fbd1..ba96766 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,25 @@ pip install -U pytest python3 -m build --wheel ``` +### ManyLinux build +``` +docker run -it quay.io/pypa/manylinux_2_28_aarch64 bash +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +source "$HOME/.cargo/env" +export PATH=/opt/python/cp312-cp312/bin:$PATH +pip install maturin +pip install venv +pip install build +pip install -U pytest + +cd home +git clone https://github.com/contentauth/c2pa-python.git +cd c2pa-python +python3 -m build --wheel +auditwheel repair target/wheels/c2pa_python-0.4.0-py3-none-linux_aarch64.whl + +``` + ### Testing We use [PyTest](https://docs.pytest.org/) for testing. diff --git a/pyproject.toml b/pyproject.toml index d5562fb..e2c3287 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["maturin>=1.2,<2.0"] +requires = ["maturin>=1.2,<2.0","uniffi_bindgen>=0.24,<0.25"] build-backend = "maturin" [project]