diff --git a/README.md b/README.md index ae7dd9c..7560610 100644 --- a/README.md +++ b/README.md @@ -8,17 +8,16 @@ Shared general purpose tools for the BrainGlobe project, including [citation gen pip install brainglobe-utils ``` -To also include the dependencies required for `napari`, use: +To also include the dependencies required for Qt widgets, use: ```bash -pip install brainglobe-utils[napari] +pip install brainglobe-utils[qt] ``` -For development, clone this repository and install the dependencies with one of the following commands: +For development, clone this repository and install the dependencies with: ```bash pip install -e .[dev] -pip install -e .[dev,napari] ``` ## Citations for BrainGlobe tools diff --git a/pyproject.toml b/pyproject.toml index 83ef29f..a1a8140 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ source_code = "https://github.com/brainglobe/brainglobe-utils" user_support = "https://github.com/brainglobe/brainglobe-utils/issues" [project.optional-dependencies] -napari = ["napari>=0.4.18", "qtpy", "superqt"] +qt = ["qtpy", "superqt"] dev = [ "black", @@ -60,13 +60,12 @@ dev = [ "pytest-qt", "pytest-mock", "pytest", - "qtpy", "ruff", "scikit-image", "setuptools_scm", - "superqt", "tox", "pooch", + "brainglobe-utils[qt]", ] @@ -85,7 +84,7 @@ exclude = ["tests", "docs*"] addopts = "--cov=brainglobe_utils" [tool.black] -target-version = ['py310','py311', 'py312'] +target-version = ['py310', 'py311', 'py312'] skip-string-normalization = false line-length = 79