From 02963931fc69fd8a5ebe99b1c22fac8b3afbf889 Mon Sep 17 00:00:00 2001 From: Isotr0py <2037008807@qq.com> Date: Sat, 23 Nov 2024 23:35:44 +0800 Subject: [PATCH 1/2] bump version to 1.3.0 Signed-off-by: Isotr0py <2037008807@qq.com> --- Cargo.toml | 2 +- README.md | 26 ++++++++++++-------------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 096a771..d58df3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pillow-jxl-plugin" -version = "1.2.8" +version = "1.3.0" edition = "2021" build = "build.rs" diff --git a/README.md b/README.md index 8926a52..c5c730a 100644 --- a/README.md +++ b/README.md @@ -15,16 +15,16 @@ pip install pillow-jxl-plugin ``` ## Build from source -Make sure `Rust` and [maturin](https://github.com/PyO3/maturin) installed, then run: +Make sure `Rust` installed, then run: ``` git clone https://github.com/Isotr0py/pillow-jpegxl-plugin cd pillow-jpegxl-plugin -maturin build --release --features vendored +pip install -e .[dev] -v ``` If you have `libjxl` installed and want to use dynamic link, run: ``` -maturin build --release --features dynamic +pip install -e .[dev] -v --config-settings=build-args="--features=dynamic" ``` ## Plugin Usage @@ -53,17 +53,15 @@ with Image.open("example.jxl") as img: ``` ## Wheels status -| Wheels | Windows 64-bit | MacOS | manylinux | -|-------------|:--------------:|:-----:|:---------:| -| CPython3.8 | ✔ | ✔ | ✔ | -| CPython3.9 | ✔ | ✔ | ✔ | -| CPython3.10 | ✔ | ✔ | ✔ | -| CPython3.11 | ✔ | ✔ | ✔ | -| CPython3.12 | ✔ | ✔ | ✔ | -| CPython3.13 | ❌ | ❌ | ✔ | -| PyPy3.8 | ❌ | ❌ | ✔ | -| PyPy3.9 | ❌ | ❌ | ✔ | -| PyPy3.10 | ❌ | ❌ | ✔ | +| Wheels | Windows 64-bit | MacOS | manylinux | musllinux | +|:-----------: |:--------------: |:-----: |:---------: |:---------: | +| CPython3.9 | ✔ | ✔ | ✔ | ✔ | +| CPython3.10 | ✔ | ✔ | ✔ | ✔ | +| CPython3.11 | ✔ | ✔ | ✔ | ✔ | +| CPython3.12 | ✔ | ✔ | ✔ | ✔ | +| CPython3.13 | ✔ | ✔ | ✔ | ✔ | +| PyPy3.9 | ✔ | ✔ | ✔ | ✔ | +| PyPy3.10 | ✔ | ✔ | ✔ | ✔ | ## Credits - [inflation/jpegxl-rs](https://github.com/inflation/jpegxl-rs) From 95da0019137caa51ef745090215a8a97876215fc Mon Sep 17 00:00:00 2001 From: Isotr0py <2037008807@qq.com> Date: Sat, 23 Nov 2024 23:38:46 +0800 Subject: [PATCH 2/2] update readme Signed-off-by: Isotr0py <2037008807@qq.com> --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5c730a..5225b67 100644 --- a/README.md +++ b/README.md @@ -15,14 +15,14 @@ pip install pillow-jxl-plugin ``` ## Build from source -Make sure `Rust` installed, then run: +Make sure [`Rust`](https://www.rust-lang.org/tools/install) installed, then run: ``` git clone https://github.com/Isotr0py/pillow-jpegxl-plugin cd pillow-jpegxl-plugin pip install -e .[dev] -v ``` -If you have `libjxl` installed and want to use dynamic link, run: +If you have [`libjxl`](https://github.com/libjxl/libjxl) installed and want to use dynamic link, run: ``` pip install -e .[dev] -v --config-settings=build-args="--features=dynamic" ```