-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (49 loc) · 1.28 KB
/
pyproject.toml
File metadata and controls
56 lines (49 loc) · 1.28 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
[project]
name = "petsctools"
# <year>.<patch>
# TODO RELEASE
version = "2026.1.dev0"
description = "Pythonic extensions for petsc4py and slepc4py"
readme = "README.md"
license = "LGPL-3.0-or-later"
maintainers = [
{name = "Connor J. Ward", email = "c.ward20@imperial.ac.uk"},
]
requires-python = ">=3.10"
dependencies = [
"packaging",
]
classifiers = [
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
]
[project.optional-dependencies]
petsc4py = ["petsc4py"]
slepc4py = ["slepc4py"]
[project.urls]
Repository = "https://github.com/firedrakeproject/petsctools"
[build-system]
requires = ["setuptools>=77.0.3"]
build-backend = "setuptools.build_meta"
[dependency-groups]
docs = ["sphinx"]
lint = ["ruff"]
test = ["pytest"]
ci = [
{include-group = "docs"},
{include-group = "lint"},
{include-group = "test"},
"cython",
"setuptools",
]
[tool.setuptools.package-data]
petsctools = ["__init__.pxd", "cpetsc.pxd"]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
# Add the `line-too-long` rule to the enforced rule set. By default, Ruff omits rules that
# overlap with the use of a formatter, like Black, but we can override this behavior by
# explicitly adding the rule.
extend-select = ["E501"]