-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (62 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
77 lines (62 loc) · 1.98 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[project]
authors = [
{name = "Jan Eglinger", email = "jan.eglinger@fmi.ch"},
]
dependencies = [
"pydantic",
"xmltodict",
]
description = "Pydantic models for CellVoyager metadata"
name = "cellvoyager-types"
requires-python = ">= 3.10"
dynamic = ["version"]
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-vcs"]
[project.optional-dependencies]
xarray = [
"dask",
"numpy",
"tifffile",
"xarray",
"zarr<3",
]
[tool.hatch.version]
source = "vcs"
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-arm64"]
[tool.pixi.pypi-dependencies]
cellvoyager_types = { path = ".", editable = true }
[tool.pixi.environments]
default = { solve-group = "py312" }
xarray = { features = ["xarray"], solve-group = "py312" }
jupyter = { features = ["jupyter"], solve-group = "py312" }
py310 = { features = ["py310", "test"], solve-group = "py310" }
py310-xarray = { features = ["py310", "test", "xarray"], solve-group = "py310" }
py311 = { features = ["py311", "test"], solve-group = "py311" }
py311-xarray = { features = ["py311", "test", "xarray"], solve-group = "py311" }
py312 = { features = ["py312", "test"], solve-group = "py312" }
py312-xarray = { features = ["py312", "test", "xarray"], solve-group = "py312" }
py313 = { features = ["py313", "test"], solve-group = "py313" }
py313-xarray = { features = ["py313", "test", "xarray"], solve-group = "py313" }
[tool.pixi.tasks]
[tool.pixi.dependencies]
pydantic = ">=2.10.6,<3"
xmltodict = ">=0.14.2,<0.15"
[tool.pixi.feature.jupyter.dependencies]
jupyter = "*"
[tool.pixi.feature.test.dependencies]
pytest = "*"
pytest-cov = "*"
[tool.pixi.feature.test.tasks]
test = "pytest --cov=src --cov-report term-missing"
cov-xml = "pytest --cov=src --cov-report xml"
[tool.pixi.feature.py310.dependencies]
python = "==3.10"
[tool.pixi.feature.py311.dependencies]
python = "==3.11"
[tool.pixi.feature.py312.dependencies]
python = "==3.12"
[tool.pixi.feature.py313.dependencies]
python = "==3.13"