From 1f516f7ec7eb7d7f44bd1ce68b7cd423177bb2ee Mon Sep 17 00:00:00 2001 From: Isotr0py <2037008807@qq.com> Date: Mon, 18 Dec 2023 11:12:21 +0800 Subject: [PATCH] update build from source --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 1038492..c732aff 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,15 @@ Pillow plugin for JPEG-XL, using Rust for bindings. pip install pillow-jxl-plugin ``` +## Build from source +Make sure `Rust` and [maturin](https://github.com/PyO3/maturin) installed, then run: +``` +git clone https://github.com/Isotr0py/pillow-jpegxl-plugin +cd pillow-jpegxl-plugin + +maturin build --release --features vendored +``` + ## Plugin Usage Use `import pillow_jxl` to register the plugin in your code.