-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (56 loc) · 1.37 KB
/
pyproject.toml
File metadata and controls
62 lines (56 loc) · 1.37 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
52
53
54
55
56
57
58
59
60
61
62
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "feature_blocks"
version = "1.0.0"
description = "Extract and cluster features from image blocks."
readme = "README.md"
requires-python = ">=3.11,<3.13"
license = { file = "LICENSE.txt" }
dependencies = [
"dask[distributed]>=2025.1.0",
"dask_jobqueue>=0.9",
"typer>=0.15.0",
"numpy>=2.1,<3",
"scikit-image>=0.24",
"transformers>=4.50,<5",
"timm>=1.0,<2",
"einops>=0.8",
"opencv-python>=4.11",
"shapely>=2.1",
"geopandas>=1.0",
"rasterio>=1.4",
"spatial_image>=1.2",
"spatialdata>=0.6.1",
"ome-zarr>=0.13",
"zarr>=3.0.0",
"anndata>=0.12.0",
"cp-measure>=0.1.13",
"pycytominer>=1.4",
"toml>=0.10",
"matplotlib>=3.10",
"torch>=2.7.0,<3",
"torchvision>=0.22.0,<1",
]
[project.scripts]
feature_blocks = "feature_blocks.main:app"
[project.optional-dependencies]
benchmarking = [
"jupyterlab>=4.5.0",
"scanpy[leiden]",
"spatialdata_plot",
]
[tool.uv]
cache-keys = [
{ file = "pyproject.toml" },
{ file = "**/**.py.txt" }, # Ensure rebuilds are triggered upon code changes
{ git = { commit = true } }
]
[tool.uv.sources]
torch = [{ index = "pytorch-cpu" }]
torchvision = [{ index = "pytorch-cpu" }]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true