From e165c5482cfe05a3824950c07d7c95c2f6abc1a8 Mon Sep 17 00:00:00 2001 From: kaczmarj Date: Thu, 22 Feb 2024 15:31:47 -0500 Subject: [PATCH] install all deps for mypy + add "all" extra --- .github/workflows/ci.yml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67785ee..dcacb2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -134,7 +134,7 @@ jobs: sudo apt install -y libopenslide0 python -m pip install --upgrade pip setuptools wheel python -m pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu openslide-python tiffslide - python -m pip install .[dev] + python -m pip install -e .[all] - name: Check types run: python -m mypy --install-types --non-interactive wsinfer/ tests/ diff --git a/pyproject.toml b/pyproject.toml index 8836760..e64fb61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -83,6 +83,7 @@ docs = [ ] openslide = ["openslide-python"] qupath = ["paquo"] +all = ["wsinfer[dev,docs,openslide,qupath]"] [project.urls] Homepage = "https://wsinfer.readthedocs.io"