forked from ecmwf/anemoi-inference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (65 loc) · 2.44 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
#!/usr/bin/env python
# (C) Copyright 2024 ECMWF.
#
# 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.
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
[build-system]
requires = [ "setuptools>=60", "setuptools-scm>=8" ]
[project]
name = "anemoi-inference"
description = "A package to hold various functions to support training of ML models."
keywords = [ "ai", "inference", "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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dynamic = [ "version" ]
dependencies = [
"anemoi-utils>=0.3",
"aniso8601",
"anytree",
"earthkit-data>=0.10",
"numpy",
"packaging",
"pyyaml",
"semantic-version",
"torch",
]
optional-dependencies.all = [ "anemoi-inference[plugin]" ]
optional-dependencies.dev = [ "anemoi-datasets[all,docs,plugin,tests]" ]
optional-dependencies.docs = [
"nbsphinx",
"pandoc",
"rstfmt",
"sphinx",
"sphinx-argparse<0.5",
"sphinx-rtd-theme",
]
optional-dependencies.plugin = [ "ai-models>=0.7", "tqdm" ]
optional-dependencies.tests = [ "anemoi-datasets[all]", "hypothesis", "pytest" ]
urls.Documentation = "https://anemoi-inference.readthedocs.io/"
urls.Homepage = "https://github.com/ecmwf/anemoi-inference/"
urls.Issues = "https://github.com/ecmwf/anemoi-inference/issues"
urls.Repository = "https://github.com/ecmwf/anemoi-inference/"
scripts.anemoi-inference = "anemoi.inference.__main__:main"
entry-points."ai_models.model".anemoi = "anemoi.inference.plugin:AIModelPlugin"
[tool.setuptools_scm]
version_file = "src/anemoi/inference/_version.py"