-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
84 lines (75 loc) · 1.6 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[project]
name = "dscim"
description = "Data-Driven Spatial Climate Impact Model core component code"
readme = "README.md"
dynamic = ["version"]
classifiers = [
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Operating System :: OS Independent",
]
requires-python = ">=3.8"
dependencies = [
"dask[array, distributed]",
"impactlab-tools",
"matplotlib",
"netcdf4",
"h5netcdf",
"numpy",
"pandas",
"pyarrow",
"pyyaml",
"p_tqdm",
"requests",
"statsmodels",
"xarray",
"zarr",
]
[project.optional-dependencies]
docs = [
"mkdocs",
"mkdocstrings[python]",
"mkdocs-material",
]
[project.urls]
Homepage = "https://github.com/ClimateImpactLab/dscim"
Documentation = "https://ClimateImpactLab.github.io/dscim"
Source = "https://github.com/ClimateImpactLab/dscim"
"Bug Tracker" = "https://github.com/ClimateImpactLab/dscim/issues"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
# Exclude /tests: included test data too large to ship to PyPI.
exclude = [
"/.github",
"/tests",
]
[tool.hatch.version]
source = "vcs"
fallback-version = "999"
[tool.hatch.build.hooks.vcs]
version-file = "src/dscim/_version.py"
[tool.ruff]
exclude = [
".eggs",
"docs",
]
[tool.ruff.lint]
# E402: module level import not at top of file
# E501: line too long
ignore = [
"E402",
"E501",
]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# Pyupgrade
"UP",
]