-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (59 loc) · 1.45 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["libhaa"]
[project]
name = "libhaa"
authors = [
{name = "Artur Jurgas", email = "[email protected]"},
]
version = "0.0.2"
description = "Package for WSI augmentation with artifacts."
readme = "README.md"
requires-python = ">=3.10"
keywords = ["histopathology", "image-augmentation"]
license = {text = "Under review"}
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"Pillow",
"numpy < 2.0",
"opencv-python",
"scipy",
"staintools",
"spams-bin",
"ruamel.yaml",
# "pyvips-binary", # not working with openslideload
"pyvips",
# "openslide-bin", # will work after openslide-python 1.4 will be released
"openslide-python",
"tqdm"
]
[project.optional-dependencies]
all = [
"libhaa[histo-seg]",
"libhaa[histo-class]",
]
histo-seg = [
"torch",
"torchio",
#...
]
histo-class = [
"torch",
"pytorch_lightning",
"pandas",
"torchmetrics",
"palettable",
"mpltex",
#...
]
[project.scripts]
build-collection = "libhaa.scripts.build_collection:cli"
generate-dataset = "libhaa.scripts.generate_dataset:cli"
segment = "libhaa.scripts.segment:cli"
cut-patches-training = "libhaa.scripts.cut_patches:cli_cut_for_training"
cut-patches-inference = "libhaa.scripts.cut_patches:cli_cut_for_inference"
classify = "libhaa.scripts.classify:run_inference"