-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (50 loc) · 1.23 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
51
52
53
54
55
[build-system]
build-backend = "hatchling.build"
requires = [
"hatchling",
]
[project]
name = "regdesc"
version = "0.1.0"
description = "Pythonic hardware register descriptors."
readme = "README.md"
license = "GPL-3.0"
authors = [
{ name = "Etienne Wodey", email = "airwoodix@posteo.me" },
]
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"jinja2>=1",
]
scripts.regdesc-codegen = "regdesc.codegen.template:ep_codegen"
scripts.regdesc-gen-rs-pac = "regdesc.codegen.rust_dummy_pac:ep_rust_dummy_pac"
scripts.regdesc-serialize = "regdesc.codegen.ir:ep_emit_json"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = [
"regdesc",
]
[tool.ruff]
target-version = "py38"
line-length = 100
extend-exclude = [
"*.tpl.py", # Python template files, contains Jinja2 syntax.
]
[tool.rye]
managed = true
dev-dependencies = [
"pyproject-fmt>=1.7.0",
"ruff>=0.3.3",
"typos>=1.22.8",
"pytest>=8.2.2",
"pytest-sugar>=1.0.0",
]