-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
64 lines (55 loc) · 1.32 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[build-system]
requires = ["setuptools", "setuptools-scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "viscy"
description = "computer vision for image-based phenotyping of single cells"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "CZ Biohub SF", email = "[email protected]" }]
dependencies = [
"iohub==0.1.0",
"torch>=2.1.2",
"timm>=0.9.5",
"tensorboard>=2.13.0",
"lightning>=2.3.0",
"monai>=1.3.1",
"jsonargparse[signatures]>=4.20.1",
"scikit-image",
"matplotlib>=3.9.0",
"numpy<2",
"xarray",
]
dynamic = ["version"]
[project.optional-dependencies]
metrics = [
"cellpose>=3.0.10",
"scikit-learn>=1.1.3",
"torchmetrics[detection]>=1.3.1",
"ptflops>=0.7",
"umap-learn",
]
examples = ["napari", "jupyter", "jupytext"]
visual = ["ipykernel", "graphviz", "torchview", "seaborn", "plotly", "nbformat"]
dev = [
"pytest",
"pytest-cov",
"hypothesis",
"ruff",
"black",
"profilehooks",
"onnxruntime",
]
[project.scripts]
viscy = "viscy.cli.cli:main"
[tool.setuptools]
packages = ["viscy"]
[tool.setuptools_scm]
write_to = "viscy/_version.py"
[tool.black]
line-length = 88
[tool.ruff]
src = ["viscy", "tests"]
lint.extend-select = ["I001"]
lint.isort.known-first-party = ["viscy"]