1
0
Fork 0
mirror of https://git.sr.ht/~kivikakk/niar synced 2024-12-23 03:42:24 +00:00
This commit is contained in:
Asherah Connor 2024-06-15 12:01:21 +03:00
parent 9e724857ef
commit 071f1cef41
2 changed files with 5 additions and 9 deletions

View file

@ -17,7 +17,7 @@ def cli(np: Project):
"build", help="build the design, and optionally program it" "build", help="build the design, and optionally program it"
), ),
) )
if getattr(np, "cxxrtl_targets"): if hasattr(np, "cxxrtl_targets"):
cxxrtl.add_arguments( cxxrtl.add_arguments(
np, subparsers.add_parser("cxxrtl", help="run the C++ simulator tests") np, subparsers.add_parser("cxxrtl", help="run the C++ simulator tests")
) )

View file

@ -2,18 +2,14 @@
name = "niar" name = "niar"
version = "0.1" version = "0.1"
description = "A small framework for building projects with Amaranth" description = "A small framework for building projects with Amaranth"
authors = [ authors = [{ name = "Asherah Connor", email = "ashe@kivikakk.ee" }]
{name = "Asherah Connor", email = "ashe@kivikakk.ee"}, dependencies = ["amaranth >= 0.5, < 0.7"]
]
dependencies = [
"amaranth >= 0.4.5, < 0.6",
]
requires-python = ">=3.8" requires-python = ">=3.8"
license = {text = "BSD-2-Clause"} license = { text = "BSD-2-Clause" }
[project.optional-dependencies] [project.optional-dependencies]
build = [ build = [
"amaranth-boards", # for test "amaranth-boards", # for test
] ]
[project.urls] [project.urls]