forked from mahmoodlab/TRIDENT
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (45 loc) · 1.38 KB
/
pyproject.toml
File metadata and controls
51 lines (45 loc) · 1.38 KB
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
[tool.poetry]
name = "trident"
version = "0.2.0"
description = "A package for preprocessing whole-slide images."
authors = [
"Andrew Zhang <andrewzh@mit.edu>",
"Guillaume Jaume <gjaume@bwh.harvard.edu>",
"Paul Doucet <homedoucetpaul@gmail.com>"
]
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 = "*"
tqdm = "*"
h5py = "*"
matplotlib = "*"
opencv-python = "*"
openslide-python = "*"
Pillow = "*"
geopandas = "*"
huggingface_hub = "*"
openslide-bin = "*"
# Optional dependencies (can be marked as optional in later versions)
transformers = "*"
timm = "0.9.16"
einops_exts = "*"
scipy = "*"
segmentation-models-pytorch = "*"
[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