-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (76 loc) · 2.25 KB
/
pyproject.toml
File metadata and controls
88 lines (76 loc) · 2.25 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
[build-system]
requires = ["setuptools>=65", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "hydro-verification"
requires-python = ">=3.10"
authors = [
{name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "software.support@ecmwf.int"},
]
license = { text = "Apache License Version 2.0" }
description = "Tools for hydrological verification"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering"
]
dynamic = ["version", "readme"]
dependencies = [
"numpy",
"pandas",
"xarray",
"earthkit-data>=0.18.2",
]
[project.urls]
repository = "https://github.com/ecmwf/hyve"
documentation = "https://github.com/ecmwf/hyve"
issues = "https://github.com/ecmwf/hyve/issues"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
]
dev = [
"pytest",
"pytest-cov",
"pre-commit",
]
gribjump = [
"earthkit-data[gribjump]"
]
[project.scripts]
hyve-extract-timeseries = "hyve.cli:extractor_cli"
hyve-hydrostats = "hyve.cli:stat_calc_cli"
hyve-clim-benchmark = "hyve.tools.clim_benchmark:main"
hyve-crps-stations = "hyve.tools.crps_stations:main"
[tool.pytest]
filterwarnings = [
# This warning is raised due to netcdf4 but likely is harmless. See
# https://github.com/Unidata/netcdf4-python/issues/1354 for more context.
"ignore:numpy.ndarray size changed"
]
[tool.black]
line-length = 88
skip-string-normalization = false
[tool.isort]
profile = "black"
line_length = 88
[tool.ruff]
line-length = 88
[tool.setuptools.packages.find]
include = [ "hyve" ]
where = [ "src/" ]
[tool.setuptools_scm]
version_file = "src/hyve/_version.py"
local_scheme = "no-local-version"
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type = "text/markdown"}