-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
107 lines (86 loc) · 2.78 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# (C) Copyright 2025 Anemoi contributors.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
#
# In applying this licence, ECMWF does not waive the privileges and immunities
# granted to it by virtue of its status as an intergovernmental organisation
# nor does it submit to any jurisdiction.
[build-system]
requires = [ "setuptools>=60", "setuptools-scm>=8" ]
[project]
name = "anemoi-utils"
description = "A package to hold various functions to support training of ML models on ECMWF data."
keywords = [ "ai", "tools" ]
license = { file = "LICENSE" }
authors = [
{ name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "[email protected]" },
]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = [ "version" ]
dependencies = [
"aniso8601",
"importlib-metadata; python_version<'3.10'",
"multiurl",
"numpy",
"pydantic>=2.9",
"python-dateutil",
"pyyaml",
"tomli; python_version<'3.11'",
"tqdm",
]
optional-dependencies.all = [ "anemoi-utils[grib,provenance,text,s3]" ]
optional-dependencies.dev = [ "anemoi-utils[all,docs,tests]" ]
optional-dependencies.docs = [
"anemoi-utils[all]",
"nbsphinx",
"pandoc",
"requests",
"sphinx",
"sphinx-argparse",
"sphinx-rtd-theme",
"termcolor",
]
optional-dependencies.grib = [ "requests" ]
optional-dependencies.provenance = [ "gitpython", "nvsmi" ]
optional-dependencies.s3 = [
"boto3<1.36",
]
optional-dependencies.tests = [ "pytest" ]
optional-dependencies.text = [ "termcolor", "wcwidth" ]
urls.Documentation = "https://anemoi-utils.readthedocs.io/"
urls.Homepage = "https://github.com/ecmwf/anemoi-utils/"
urls.Issues = "https://github.com/ecmwf/anemoi-utils/issues"
urls.Repository = "https://github.com/ecmwf/anemoi-utils/"
scripts.anemoi-utils = "anemoi.utils.__main__:main"
[tool.setuptools.package-data]
"anemoi.utils.mars" = [ "*.yaml" ]
[tool.setuptools_scm]
version_file = "src/anemoi/utils/_version.py"
[tool.pytest.ini_options]
markers = [
"skip_on_hpc: mark a test that should not be run on HPC",
]
[tool.mypy]
strict = false
exclude = [
"docs/**",
]
[tool.pydocstringformatter]
write = true
exclude = "docs/**"
style = "numpydoc"