-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (83 loc) · 2.2 KB
/
pyproject.toml
File metadata and controls
93 lines (83 loc) · 2.2 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[project]
name = "itzi"
version = "25.10"
description = "A distributed dynamic flood model."
authors = [
{name = "Laurent Courty", email = "lrntct@gmail.com"},
]
dependencies = [
"numpy>=2.2",
"pyswmm>=2.1.0",
"bmipy>=2.0.1",
"pydantic>=2.12.5",
]
requires-python = ">=3.12,<3.14" # 3.12 for typing. pyswmm does not support python > 3.13
readme = "README.md"
license = "GPL-2.0-or-later"
keywords = ["science", "engineering", "hydrology", "flood"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Cython",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Hydrology",
]
[project.urls]
Homepage = "https://www.itzi.org"
Documentation = "https://itzi.readthedocs.io"
Repository = "https://github.com/ItziModel/itzi"
Issues = "https://github.com/ItziModel/itzi/issues/"
[project.scripts]
itzi = "itzi.itzi:main"
[project.optional-dependencies]
cloud = [
"icechunk>=1.1.1",
"obstore>=0.8.2",
"pandas>=2.3.1",
"pyproj>=3.7.1",
"xarray[io,parallel]>=2025.7.1",
"zarr>=3.1.1",
]
[dependency-groups]
dev = [
"pytest>=8.3",
"pytest-cov==6.*",
"pytest-forked==1.*",
"pandas==2.*",
"requests==2.*",
"pytest-benchmark[histogram]==5.*",
"scipy>=1.15.2",
"pre-commit>=4.2.0",
"ruff>=0.12",
"ty>=0.0.1a16",
"pyinstrument==5.*",
"rioxarray>=0.19.0",
]
[build-system]
requires = [
"setuptools>=80",
"numpy==2.*",
"cython==3.*"
]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = ["*.pyx"]
"itzi.data" = ["*.ini"]
"itzi.data.colortable" = ["*.txt"]
[tool.pytest.ini_options]
pythonpath = ["src", "."]
addopts = ["--import-mode=importlib", "--benchmark-min-rounds=7"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"cloud: marks tests using cloud functions (deselect with '-m \"not cloud\"')",
]
[tool.ruff]
line-length = 99
[tool.ty.rules]
# GRASS imports are resolved at runtime
unresolved-import = "ignore"