Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Make napari functionality optional
Browse files Browse the repository at this point in the history
  • Loading branch information
willGraham01 committed Aug 31, 2023
1 parent 67dec4c commit 17cd6e3
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,12 @@ classifiers = [
]
requires-python = ">=3.8"
dependencies = [
"brainglobe-napari-io",
"brainglobe-utils",
"dask[array]",
"fancylog>=0.0.7",
"magicgui",
"napari-ndtiffs",
"napari-plugin-engine >= 0.1.4",
"napari[all]",
"natsort",
"numba",
"numpy",
"pooch>=1",
"qtpy",
"scikit-image",
"scikit-learn",
# See https://github.com/brainglobe/cellfinder-core/issues/103 for < 2.12.0 pin
Expand All @@ -44,12 +37,8 @@ dependencies = [
]
dynamic = ["version"]

[project.urls]
Homepage = "https://brainglobe.info/documentation/cellfinder/index.html"
"Source Code" = "https://github.com/brainglobe/cellfinder-core"
"Bug Tracker" = "https://github.com/brainglobe/cellfinder-core/issues"
Documentation = "https://brainglobe.info/documentation/cellfinder/index.html"
"User Support" = "https://forum.image.sc/tag/brainglobe"
[project.entry-points."napari.manifest"]
cellfinder = "cellfinder.napari:napari.yaml"

[project.optional-dependencies]
dev = [
Expand All @@ -64,14 +53,27 @@ dev = [
"pytest",
"tox",
]

[project.entry-points."napari.manifest"]
cellfinder = "cellfinder.napari:napari.yaml"
napari = [
"brainglobe-napari-io",
"magicgui",
"napari-ndtiffs",
"napari-plugin-engine >= 0.1.4",
"napari[all]",
"pooch >= 1",
"qtpy",
]

[project.scripts]
cellfinder_download = "cellfinder.core.download.cli:main"
cellfinder_train = "cellfinder.core.train.train_yml:cli"

[project.urls]
Homepage = "https://brainglobe.info/documentation/cellfinder/index.html"
"Source Code" = "https://github.com/brainglobe/cellfinder-core"
"Bug Tracker" = "https://github.com/brainglobe/cellfinder-core/issues"
Documentation = "https://brainglobe.info/documentation/cellfinder/index.html"
"User Support" = "https://forum.image.sc/tag/brainglobe"

[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = 'setuptools.build_meta'
Expand Down

0 comments on commit 17cd6e3

Please sign in to comment.