-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (62 loc) · 1.92 KB
/
pyproject.toml
File metadata and controls
71 lines (62 loc) · 1.92 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
# (C) Copyright 2025- 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.
[build-system]
requires = ["setuptools>=80", "setuptools_scm[toml]>=6.2", "packaging>=25"]
build-backend = "setuptools.build_meta"
[project]
name = "earthkit-workflows"
description = "Earthkit Workflows is a Python library for declaring earthkit task DAGs, as well as scheduling and executing them on heterogeneous computing systems."
authors = [
{ name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "software.support@ecmwf.int" },
]
license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.11"
dependencies = [
"earthkit-data",
"cloudpickle",
"numpy",
"xarray",
"networkx",
"array-api-compat",
"sortedcontainers",
"pyvis",
"dill",
"pyrsistent",
"pydantic",
"pyzmq",
"fire",
"orjson",
"qubed>=0.3.0",
]
# version provided via setuptools_scm module, which derives it from git tag
dynamic = ["version"]
readme = "README.md"
[dependency-groups]
dev = ["pytest", "pytest-xdist>=3.8", "prek", "ty==0.0.2", "build", "bokeh"]
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.setuptools_scm]
write_to = "src/earthkit/workflows/_version.py"
write_to_template = '''# Do not change! Do not track in version control!
__version__ = "{version}"
'''
local_scheme = "no-local-version"
[tool.setuptools.packages.find]
include = ["earthkit.workflows*", "cascade*"]
where = ["src"]
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "DEBUG"
testpaths = ["tests/"]
addopts = "-n8"
[tool.ruff]
line-length = 140
lint.ignore = [ "E722", "E731", "E741" ]
lint.select = ["I"]