-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpyproject.toml
49 lines (44 loc) · 1.31 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
[tool.poetry]
name = "trident"
version = "0.1.1"
description = "A package for preprocessing whole-slide images."
authors = [
"Andrew Zhang <[email protected]>",
"Guillaume Jaume <[email protected]>",
"Paul Doucet <[email protected]>"
]
license = "CC BY-NC-ND 4.0" # Specify your package's license if different.
repository = "https://github.com/mahmoodlab/TRIDENT"
[tool.poetry.dependencies]
python = "^3.10" # Specify the Python version compatibility.
ipywidgets = "*"
torch = "*"
transformers = "*"
tqdm = "*"
h5py = "*"
matplotlib = "*"
segmentation-models-pytorch = "*"
opencv-python = "*"
openslide-python = "*"
Pillow = "*"
timm = "0.9.16"
einops_exts = "*"
geopandas = "*"
huggingface_hub = "*"
openslide-bin = "*"
scipy = "*"
[tool.poetry.dev-dependencies]
# Optional development dependencies
[tool.poetry.scripts]
run_batch_of_slides = "run_batch_of_slides:main"
run_single_slide = "run_single_slide:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.package]
include = [
{ format = "file", path = "trident/slide_encoder_models/local_ckpts.json" },
{ format = "file", path = "trident/patch_encoder_models/local_ckpts.json" },
{ format = "file", path = "trident/segmentation_models/local_ckpts.json" },
]
include_package_data = true