-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
69 lines (59 loc) · 1.17 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
65
66
67
68
69
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lazyslide"
authors = []
readme = "README.md"
classifiers = [
"License :: OSI Approved :: MIT License",
]
requires-python = ">=3.7"
description = "Modularized and scalable whole slide image analysis"
dynamic = ["version"]
dependencies = [
"numpy",
"pandas",
"numba",
"scikit-learn",
"matplotlib",
"legendkit",
"rich",
"typer",
"wsidata",
"psutil",
]
[tool.hatch.version]
path = "src/lazyslide/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/lazyslide"]
[tool.hatch.metadata]
allow-direct-references = true
[project.optional-dependencies]
all = [
"scipy",
"scanpy",
"torch",
"torchvision", # >0.15
"torchstain",
]
dev = [
"hatchling",
"sphinx",
"pydata-sphinx-theme",
"numpydoc",
"sphinx_design",
"sphinx_copybutton",
"sphinx-click",
"myst-nb",
"pytest",
]
# Define entry points
[project.scripts]
lazyslide = "lazyslide.__main__:app"
[tool.ruff]
ignore = ["F401"]
line-length = 88
[tool.ruff.per-file-ignores]
"tests/test_example.py" = ["E402"]
"tests/test_loader.py" = ["E402"]