aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml24
1 files changed, 20 insertions, 4 deletions
diff --git a/pyproject.toml b/pyproject.toml
index b61e0ff..ee3c4df 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,3 @@
-[build-system]
-requires = ["wheel", "setuptools~=67.0", "setuptools_scm[toml]>=6.2"]
-build-backend = "setuptools.build_meta"
-
[project]
dynamic = ["version"]
@@ -20,6 +16,12 @@ dependencies = [
"Source Code" = "https://github.com/amaranth-lang/amaranth-boards"
"Bug Tracker" = "https://github.com/amaranth-lang/amaranth-boards/issues"
+# Build system configuration
+
+[build-system]
+requires = ["wheel", "setuptools~=67.0", "setuptools_scm[toml]>=6.2"]
+build-backend = "setuptools.build_meta"
+
[tool.setuptools]
# If old amaranth-boards is checked out with git (e.g. as a part of a persistent editable install
# or a git worktree cached by tools like poetry), it can have an empty `nmigen_boards` directory
@@ -29,3 +31,17 @@ packages = ["amaranth_boards"]
[tool.setuptools_scm]
local_scheme = "node-and-timestamp"
+
+# Development workflow configuration
+
+[tool.pdm.dev-dependencies]
+toolchain = [
+ "amaranth-yosys",
+ "yowasp-yosys",
+ "yowasp-nextpnr-ice40",
+ "yowasp-nextpnr-ecp5",
+ "yowasp-nextpnr-gowin",
+]
+
+[tool.pdm.scripts]
+_.env_file = ".env.toolchain"