-
Notifications
You must be signed in to change notification settings - Fork 185
Expand file tree
/
Copy pathpyproject.toml
More file actions
196 lines (188 loc) · 4.61 KB
/
pyproject.toml
File metadata and controls
196 lines (188 loc) · 4.61 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
[project]
name = "firedrake"
# <year>.<month>.<patch>
# TODO RELEASE
version = "2025.11.0.dev0"
description = "An automated system for the portable solution of partial differential equations using the finite element method"
readme = "README.rst"
license = "LGPL-3.0-or-later"
maintainers = [
{name = "Pablo D. Brubeck"},
{name = "Daiane I. Dolci"},
{name = "David A. Ham", email = "david.ham@imperial.ac.uk"},
{name = "Josh Hope-Collins"},
{name = "Koki Sagiyama"},
{name = "Connor J. Ward", email = "c.ward20@imperial.ac.uk"},
]
requires-python = ">=3.10"
dependencies = [
"cachetools",
"decorator<=4.4.2",
"mpi4py>3; python_version >= '3.13'",
"mpi4py; python_version < '3.13'",
# TODO RELEASE
"fenics-ufl @ git+https://github.com/FEniCS/ufl.git@main",
# TODO RELEASE
"firedrake-fiat @ git+https://github.com/firedrakeproject/fiat.git@main",
"h5py>3.12.1",
"immutabledict",
"libsupermesh",
"loopy>2024.1",
"numpy",
"packaging",
# TODO RELEASE
# "petsc4py==3.24.0",
"petsctools @ git+https://github.com/firedrakeproject/petsctools.git@main",
"pkgconfig",
"progress",
# TODO RELEASE
"pyadjoint-ad @ git+https://github.com/dolfin-adjoint/pyadjoint@master",
"pycparser",
"pytools[siphash]",
"requests",
"rtree>=1.2",
"scipy",
"sympy",
"islpy>=2025.1.5; sys_platform == 'darwin'",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: Unix",
]
[project.urls]
Homepage = "https://firedrakeproject.org"
Repository = "https://github.com/firedrakeproject/firedrake"
Issues = "https://github.com/firedrakeproject/firedrake/issues/new/choose"
[project.scripts]
firedrake-clean = "firedrake.scripts.firedrake_clean:main"
firedrake-preprocess-bibtex = "firedrake.scripts.firedrake_preprocess_bibtex:main"
pyop2-clean = "pyop2.compilation:clear_compiler_disk_cache"
[project.optional-dependencies]
check = [
# TODO RELEASE
"mpi-pytest @ git+https://github.com/firedrakeproject/mpi-pytest.git@main",
"pytest",
]
docs = [
"bibtexparser",
"matplotlib", # needed to resolve API
"numpydoc",
"pylit",
"sphinx",
"sphinx-autobuild",
"sphinx-reredirects",
"sphinxcontrib-bibtex",
"sphinxcontrib-jquery",
"sphinxcontrib-svg2pdfconverter",
"sphinxcontrib-youtube",
"sphinx-copybutton",
"vtk", # needed to resolve API
]
jax = [
"jax",
]
# TODO RELEASE
# netgen = [
# "ngsPETSc>=0.1.1",
# ]
# TODO RELEASE
# slepc = [
# "slepc4py==3.24.0",
# ]
torch = [ # requires passing '--extra-index-url' to work
"torch",
]
vtk = [
"vtk",
]
# Dependencies needed to run the full test suite
ci = [
"ipympl", # needed for notebook testing
"jax",
"matplotlib",
# TODO RELEASE
"mpi-pytest @ git+https://github.com/firedrakeproject/mpi-pytest.git@main",
"nbval",
"networkx",
# TODO RELEASE
# "ngsPETSc>=0.1.1",
"pdf2image",
"pygraphviz",
"pylit",
"pytest",
"pytest-order",
"pytest-split", # needed for firedrake-run-split-tests
"pytest-timeout",
"pytest-xdist",
# TODO RELEASE
# "slepc4py==3.24.0",
"torch", # requires passing '--extra-index-url' to work
"vtk",
]
docker = [ # Used in firedrake-vanilla container
"ipympl", # needed for notebook testing
"matplotlib",
# TODO RELEASE
"mpi-pytest @ git+https://github.com/firedrakeproject/mpi-pytest.git@main",
"nbval",
"networkx",
"pdf2image",
"pygraphviz",
"pylit",
"pytest",
"pytest-order",
"pytest-split", # needed for firedrake-run-split-tests
"pytest-timeout",
"pytest-xdist",
# TODO RELEASE
# "slepc4py==3.24.0",
"vtk",
]
[build-system]
requires = [
"Cython>=3.0",
"libsupermesh",
"mpi4py>3; python_version >= '3.13'",
"mpi4py; python_version < '3.13'",
"numpy",
# TODO RELEASE
# "petsc4py==3.24.0",
"petsctools",
"pkgconfig",
"pybind11",
"rtree>=1.2",
"setuptools>=77.0.3",
]
build-backend = "setuptools.build_meta"
# TODO: Convert firedrake-zenodo to a proper entrypoint script.
[tool.setuptools]
script-files = [
"firedrake/scripts/firedrake-zenodo",
"scripts/firedrake-check",
"scripts/firedrake-run-split-tests",
"pyop2/scripts/spydump",
]
[tool.setuptools.package-data]
# Unless specified these files will not be installed along with the
# rest of the package
firedrake = [
"cython/*.pxi",
"cython/*.pyx",
"evaluate.h",
"locate.c",
"icons/*.png",
"_check/**",
]
pyop2 = [
"*.h",
"*.pxd",
"*.pyx",
"codegen/c/*.c",
]