Skip to content

Commit 59223a8

Browse files
whitequarkjfng
authored andcommitted
pyproject: synchronize with Amaranth.
1 parent f77eba0 commit 59223a8

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

pyproject.toml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
[build-system]
2-
requires = ["wheel", "setuptools~=67.0", "setuptools_scm[toml]>=6.2"]
3-
build-backend = "setuptools.build_meta"
1+
# Project metadata
42

53
[project]
64
dynamic = ["version"]
@@ -20,5 +18,28 @@ dependencies = [
2018
"Source Code" = "https://github.com/amaranth-lang/amaranth-soc"
2119
"Bug Tracker" = "https://github.com/amaranth-lang/amaranth-soc/issues"
2220

21+
# Build system configuration
22+
23+
[build-system]
24+
requires = ["wheel", "setuptools>=67.0", "setuptools_scm[toml]>=6.2"]
25+
build-backend = "setuptools.build_meta"
26+
2327
[tool.setuptools_scm]
2428
local_scheme = "node-and-timestamp"
29+
30+
# Development workflow configuration
31+
32+
[tool.pdm.dev-dependencies]
33+
test = [
34+
"coverage",
35+
]
36+
docs = [
37+
"sphinx~=5.3",
38+
"sphinx-rtd-theme~=1.2",
39+
"sphinx-autobuild",
40+
]
41+
42+
[tool.pdm.scripts]
43+
test.composite = ["test-code"]
44+
test-code.env = {PYTHONWARNINGS = "error"}
45+
test-code.cmd = "python -m coverage run -m unittest discover -t . -s tests -v"

0 commit comments

Comments
 (0)