-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (61 loc) · 1.58 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (61 loc) · 1.58 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# SPDX-FileCopyrightText: Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2025 Timor Knudsen (AMD)
# SPDX-License-Identifier: MIT
[build-system]
requires = ["uv_build >= 0.9.18, <0.10.0"]
build-backend = "uv_build"
[project]
name = "mini-isp"
description = "A minimal, open-source Image Signal Processor (ISP) for AMD FPGA, implemented in Verilog."
readme = "README.md"
license = "MIT"
requires-python = "==3.13.*"
version = "v0.0.1"
dependencies = [
"binpacking>=2.0.1",
"cocotb>=2.0.1",
"cocotbext-axi>=0.1.26",
"colour",
"colour_demosaicing",
"matplotlib",
"numpy>=2.2.6",
"opencv-python-headless>=4.13.0",
"pyosys>=0.62",
"pytest>=9.0.2",
"raysect>=0.9.1",
"scipy",
"sympy",
]
[tool.pytest]
minversion = "9.0"
addopts = ["-ra", "-q", "-s", "--strict-markers"]
markers = [
"synth: mark test as synthesis test",
"sim: mark test as simulation test",
]
cache_dir = "./build/.cache/pytest"
testpaths = [
"python/tb",
"python/test",
]
[project.entry-points.pytest11]
cmdline = "tb.cmdline"
cocotb = "cocotb_tools.pytest.plugin"
[tool.uv.build-backend]
module-root = "python"
source-include = ["rtl/**"]
[tool.uv.sources]
cocotb = { git = "https://github.com/cocotb/cocotb.git" }
[tool.deptry.package_module_name_map]
cocotbext-axi = "cocotbext"
opencv-python-headless = "cv2"
[tool.mypy]
cache_dir = "./build/.cache/mypy"
plugins = "numpy.typing.mypy_plugin"
[tool.ruff]
cache-dir = "./build/.cache/ruff"
[dependency-groups]
dev = [
"prek>=0.2.25",
"zensical>=0.0.24",
]