-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
62 lines (55 loc) · 1.38 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
[build-system]
requires = ["hatchling>=1.26.1"]
build-backend = "hatchling.build"
[project]
name = "celldega"
version = "0.8.0"
dependencies = [
"anywidget==0.9.6",
"pandas~=2.2.2",
"geopandas~=0.14.3",
"pyarrow~=15.0.2",
"matplotlib~=3.8.4",
"geopandas~=0.14.3",
"zarr~=2.17.2",
"tifffile~=2024.4.18",
"imagecodecs~=2024.1.1",
"scanpy~=1.10.2",
"squidpy~=1.5.0",
"shapely~=2.0.5",
"polars~=1.10.0",
"libpysal~=4.8.1",
"spatialdata~=0.2.6",
"spatialdata_io~=0.1.6"
]
readme = "README.md"
[project.optional-dependencies]
dev = [
"watchfiles",
"jupyterlab",
"pylint",
"black"
]
pre = [
"pyvips~=2.2.2"
] # optional dependencies for pre-processing
docs = [
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
"mkdocstrings[javascript]"
] # optional dependencies for documentation
# automatically add the dev feature to the default env (e.g., hatch shell)
[tool.hatch.envs.default]
features = ["dev"]
[tool.hatch.build]
only-packages = true
artifacts = ["src/celldega/static/*"]
[tool.hatch.build.hooks.jupyter-builder]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = ["src/celldega/static/widget.js"]
skip-if-exists = ["src/celldega/static/widget.js"]
dependencies = ["hatch-jupyter-builder>=0.5.0"]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
npm = "npm"
build_cmd = "build"