-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
94 lines (87 loc) · 2.47 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
# Make sure we use setuptools and have all required dependencies for that
[build-system]
requires = [
"setuptools >= 61",
"wheel",
"setuptools_scm[toml] >= 6.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "loki"
authors = [
{name = "ECMWF", email = "[email protected]"},
]
description = "Experimental Fortran IR to facilitate source-to-source transformations"
requires-python = ">=3.8,<3.12"
license = {text = "Apache-2.0"}
dynamic = ["version", "readme"]
dependencies = [
"numpy", # essential for tests, loop transformations and other dependencies
"pymbolic==2022.2", # essential for expression tree
"PyYAML", # essential for loki-lint
"pcpp", # essential for preprocessing
"more-itertools", # essential for SCC transformation
"click", # essential for CLI scripts
"toml", # essential for scheduler configuration
"networkx", # essential for scheduler and build utilities
"fparser>=0.0.15", # (almost) essential as frontend
"graphviz", # optional for scheduler callgraph
"tqdm", # optional for build utilities
"coloredlogs", # optional for loki-build utility
"junit_xml", # optional for JunitXML output in loki-lint
"codetiming", # essential for scheduler and sourcefile timings
"pydantic>=2.0,<2.10.0", # type checking for IR nodes
]
[project.optional-dependencies]
tests = [
"pytest",
"pytest-cov",
"coverage2clover",
"pylint!=2.11.0,!=2.11.1",
"pandas",
"f90wrap>=0.2.15",
"nbconvert",
]
ofp = [
"open-fortran-parser @ git+https://github.com/mlange05/open-fortran-parser-xml@mlange05-dev#egg=open-fortran-parser",
]
dace = [
"dace>=0.11.2",
]
docs = [
"sphinx", # to build documentation
"recommonmark", # to allow parsing markdown
"sphinx-rtd-theme", # ReadTheDocs theme
"myst-parser", # Markdown parser for sphinx
"nbsphinx", # Jupyter notebook parser for sphinx
"sphinx-design", # Add panels, cards and dropdowns for sphinx
]
examples = [
"jupyter",
"ipyparams",
]
[project.scripts]
"loki-transform.py" = "scripts.loki_transform:cli"
"loki-lint.py" = "scripts.loki_lint:cli"
[tool.setuptools]
license-files = ["LICENSE", "AUTHORS.md"]
[tool.setuptools.dynamic]
readme = {file = ["README.md", "INSTALL.md"], content-type = "text/markdown"}
[tool.setuptools.packages.find]
where = ["."]
include = [
"loki",
"loki.*",
"scripts"
]
exclude = [
"build*",
"cmake*",
"docs*",
"example*",
"lint_rules*",
"loki_env*",
]
namespaces = false
# Enable SCM versioning
[tool.setuptools_scm]