-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (40 loc) · 1.39 KB
/
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
43
44
45
46
47
48
49
50
[project]
name = "ember"
version = "0.0.0"
description = ""
authors = [{name = "eigenform"}]
readme = "README.md"
requires-python = ">3.8"
dependencies = [
"amaranth[builtin-yosys]@git+https://github.com/amaranth-lang/amaranth",
"amaranth-soc@git+https://github.com/amaranth-lang/amaranth-soc",
]
[tool.pdm]
ignore_package_warnings = [
"sphinx*", "alabaster",
]
[tool.pdm.build]
includes = ["ember/"]
excludes = ["rv32/", "tmp/", "flow/"]
[tool.setuptools.packages.find]
exclude = ["rv32/", "tmp/", "flow/"]
[tool.pdm.dev-dependencies]
docs = [
"sphinx~=7.1",
"sphinx-rtd-theme~=2.0",
"sphinx-autobuild",
]
[tool.pdm.scripts]
test.composite = ["test-all"]
test-all.cmd = "python -m unittest discover -t . -s tests -v"
test-module.cmd = "python -m unittest discover -t . -s tests/module -v"
test-pipeline.cmd = "python -m unittest discover -t . -s tests/pipeline -v"
test-riscv.cmd = "python -m unittest discover -t . -s tests/riscv -v"
test-oneoff.cmd = "python -m unittest -v"
describe.cmd = "python util/describe.py"
emit-verilog.cmd = "python -c 'print(\"[!] Unimplemented\")'"
docs.cmd = "sphinx-build docs/ docs/build -W --keep-going"
docs-live.cmd = "sphinx-autobuild -E docs/ docs/build --watch ember"
docs-live-host.cmd = "sphinx-autobuild docs/ docs/build --watch ember --host 0.0.0.0"
#sim = { call = "ember:sim()" }
build-core-harness = { call = "ember.harness:build_core_harness()" }