-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (96 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
103 lines (96 loc) · 2.5 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
94
95
96
97
98
99
100
101
102
103
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=77", "setuptools-scm>=8" ]
[project]
name = "earthkit-meteo"
description = "A Python library for meteorological computations"
readme = "README.md"
license = "Apache-2.0"
license-files = [ "LICENSE" ]
authors = [
{ name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "software.support@ecmwf.int" },
]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering",
]
dynamic = [ "version" ]
dependencies = [
"deprecation",
"earthkit-utils==1.0.0rc0",
"numpy",
]
optional-dependencies.all = [
"earthkit-meteo[samples,scores,stats]",
]
optional-dependencies.dev = [
"earthkit-meteo[all,docs,test]",
]
optional-dependencies.docs = [
"docutils",
"furo",
"ipykernel",
"nbconvert",
"nbsphinx",
"pygments>=2.6.1",
"requests", # is this needed?
"setuptools",
"sphinx>=7.3.7",
"sphinx-autoapi",
"sphinx-copybutton",
"sphinx-design",
"sphinx-issues",
]
optional-dependencies.gpu = [
"cupy",
"torch",
]
optional-dependencies.samples = [
"requests",
]
optional-dependencies.scores = [
"scipy",
"scores",
"xarray",
]
optional-dependencies.stats = [
"scipy>=1.15",
]
optional-dependencies.test = [
"earthkit-data==1.0.0rc0",
"netcdf4",
"pytest",
"pytest-cov",
"requests",
"xarray",
]
urls.Documentation = "https://earthkit-meteo.readthedocs.io/"
urls.Homepage = "https://github.com/ecmwf/earthkit-meteo/"
urls.Issues = "https://github.com/ecmwf/earthkit-meteo/issues"
urls.Repository = "https://github.com/ecmwf/earthkit-meteo/"
[tool.setuptools]
packages.find.include = [ "earthkit.meteo" ]
packages.find.where = [ "src/" ]
[tool.setuptools_scm]
version_file = "src/earthkit/meteo/_version.py"
[tool.ruff]
lint.per-file-ignores."tests/**.py" = [ "E402" ]
[tool.isort]
profile = "black"
[tool.coverage]
run.branch = "true"
[tool.pydocstyle]
add_ignore = [ "D1", "D200", "D205", "D400", "D401" ]
convention = "numpy"