From b3b7414420d60ee2e253c2888e40e3a3e7b2d757 Mon Sep 17 00:00:00 2001 From: Laurent Guerard Date: Tue, 23 Jun 2026 14:47:56 +0200 Subject: [PATCH] =?UTF-8?q?build:=20=F0=9F=94=A7=20include=20napari=20in?= =?UTF-8?q?=20the=20[all]=20extra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit patchworks[all] now also installs the napari viewer plugin; docs/README updated to match. Co-Authored-By: Claude Opus 4.8 --- README.md | 2 +- docs/guide/ome_zarr_napari.md | 4 ++-- pyproject.toml | 9 +++++++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2970f58..7913078 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ pip install "patchworks[cellpose]" # Cellpose plugin pip install "patchworks[bioio]" # convert any image format to OME-ZARR pip install "patchworks[imaris]" # convert Imaris .ims files to OME-ZARR pip install "patchworks[napari]" # interactive napari viewer plugin -pip install "patchworks[all]" # Everything (except napari GUI) +pip install "patchworks[all]" # Everything, incl. the napari viewer ``` > `bioio` reads CZI/LIF/ND2/OME-TIFF/… The `[bioio]` extra bundles the common diff --git a/docs/guide/ome_zarr_napari.md b/docs/guide/ome_zarr_napari.md index 5ee97af..2a069b4 100644 --- a/docs/guide/ome_zarr_napari.md +++ b/docs/guide/ome_zarr_napari.md @@ -144,8 +144,8 @@ view_in_napari("scan.zarr", labels="labels.zarr") ``` !!! note - napari is a GUI-heavy extra and is **not** included in `patchworks[all]`. - Install it explicitly: `pip install "patchworks[napari]"`. + napari ships in `patchworks[all]`, or install just it with + `pip install "patchworks[napari]"`. ## End-to-end diff --git a/pyproject.toml b/pyproject.toml index 72082ca..94b9b12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,11 +56,16 @@ bioio = [ ] # imaris reads .ims files natively (HDF5, no JVM) for OME-ZARR conversion. imaris = ["imaris-ims-file-reader"] -# napari enables the interactive viewer plugin (GUI-heavy, kept out of [all]). +# napari enables the interactive viewer plugin. napari = ["napari[all]"] dev = ["pytest", "pytest-cov", "scikit-image", "psutil", "tqdm"] docs = ["mkdocs-material>=9.0", "mkdocstrings[python]>=0.24"] -all = ["patchworks[io,gpu,bioio,imaris]", "psutil", "tqdm", "scikit-image"] +all = [ + "patchworks[io,gpu,bioio,imaris,napari]", + "psutil", + "tqdm", + "scikit-image", +] [project.urls] Homepage = "https://github.com/imcf/patchworks"