-
Notifications
You must be signed in to change notification settings - Fork 110
/
pyproject.toml
42 lines (32 loc) · 982 Bytes
/
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
# Project metadata
[tool.pdm.version]
source = "scm"
[project]
dynamic = ["version"]
name = "amaranth-boards"
description = "Board and connector definitions for Amaranth HDL"
authors = [{name = "Amaranth HDL contributors"}]
license = {file = "LICENSE.txt"}
requires-python = "~=3.9"
dependencies = [
# this version requirement needs to be synchronized with the one in .github/workflows/main.yml
"amaranth>=0.5,<0.7",
]
[project.urls]
"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 = ["pdm-backend"]
build-backend = "pdm.backend"
# Development workflow configuration
[tool.pdm.dev-dependencies]
toolchain = [
"amaranth-yosys",
"yowasp-yosys",
"yowasp-nextpnr-ice40",
"yowasp-nextpnr-ecp5",
]
[tool.pdm.scripts]
_.env_file = ".env.toolchain"
test.cmd = "python -m unittest discover -t . -s amaranth_boards -p *.py"