-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
99 lines (85 loc) · 2.38 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
# See https://www.python.org/dev/peps/pep-0621/
name = 'sirocco'
dynamic = ["version"]
description = 'A library for creating weather and climate workflows.'
authors = [
{name = 'Matthieu Leclair', email = '[email protected]'},
{name = 'Julian Geiger', email = '[email protected]'},
{name = 'Alexander Goscinski', email = '[email protected]'},
]
readme = 'README.md'
classifiers = [
'Development Status :: 1 - Planning',
'Intended Audience :: Science/Research',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'License :: OSI Approved :: MIT License',
]
keywords = ["workflow"," icon", "aiida", "aiida-workgraph"]
requires-python = '>=3.12'
dependencies = [
"numpy",
"isoduration",
"pydantic",
"pydantic-yaml",
"aiida-core>=2.5",
"termcolor",
"pygraphviz",
"lxml"
]
license = {file = "LICENSE"}
[project.urls]
Repository = "https://github.com/C2SM/Sirocco.git"
Documentation = "https://c2sm.github.io/Sirocco/"
Changelog = "https://github.com/C2SM/Sirocco/blob/main/CHANGELOG.md"
[tool.pytest.ini_options]
# Configuration for [pytest](https://docs.pytest.org)
addopts = "--pdbcls=IPython.terminal.debugger:TerminalPdb"
[tool.coverage.run]
# Configuration of [coverage.py](https://coverage.readthedocs.io)
# reporting which lines of your plugin are covered by tests
source = ["sirocco"]
[tool.ruff]
include = ["src/*py", "tests/*py"]
target-version = "py39"
[tool.ruff.lint]
ignore = [
"TID252", # prefer relative import over absolute
"TRY003", # write custom error messages for formatting
]
## Hatch configurations
[tool.hatch.build.targets.sdist]
include = [
"src/sirocco/",
]
[tool.hatch.version]
path = "src/sirocco/__init__.py"
[tool.hatch.envs.hatch-test]
extra-dependencies = [
"ipdb"
]
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.12"]
[tool.hatch.envs.docs]
description = "Build the documentation"
extra-dependencies = [
"mkdocs-material",
]
[tool.hatch.envs.docs.scripts]
build = [
"mkdocs build -f docs/mkdocs.yml",
"echo 'Now open docs/build/index.html with your browser'"
]
serve = [
"mkdocs serve -f docs/mkdocs.yml",
]
deploy = [
"mkdocs gh-deploy --no-history -f docs/mkdocs.yml"
]