-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathpyproject.toml
More file actions
152 lines (132 loc) · 3.56 KB
/
pyproject.toml
File metadata and controls
152 lines (132 loc) · 3.56 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "FABulous-FPGA"
authors = [
{ name = "Jing, Nguyen, Bea, Bardia, Dirk", email = "dirk.koch@manchester.ac.uk" },
]
description = "FABulous FPGA Fabric generator"
readme = "README.md"
requires-python = ">=3.12"
dynamic = ["version"]
license = { text = "Apache-2.0" }
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
dependencies = [
'python-dotenv>=1.0.0',
'loguru>=0.7.0',
'requests>=2.0.0',
'cmd2>=2',
'bitarray>=3.3.0',
"pydantic>=2.12.1",
"pydantic-settings>=2.10.1",
"packaging>=25.0",
"typer>=0.20.0",
"FABulous-bit-gen>=0.1.0",
'PyYAML>=6.0.0',
'click>=8.0.0',
# OS-aware readline dependencies
'pyreadline3>=3.4.0; sys_platform == "win32"',
'gnureadline>=8.2.0; sys_platform != "win32"',
"librelane>=3.0.0.dev43",
"pick>=2.4.0",
"pymoo>=0.6.1.5",
"numpy>=2.3.4",
"dill>=0.4.0",
"ciel>=2.4.0",
"go-task-bin>=3.40.0",
]
[project.urls]
Repository = "https://github.com/FPGA-Research/FABulous"
Documentation = "https://fabulous.readthedocs.io"
Releases = "https://github.com/FPGA-Research/FABulous/releases"
Issues = "https://github.com/FPGA-Research/FABulous/issues"
Discussions = "https://github.com/FPGA-Research/FABulous/discussions"
[project.scripts]
FABulous = "fabulous.fabulous:main"
#alias for better usability
fabulous = "fabulous.fabulous:main"
[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "node-and-date"
[tool.setuptools.packages.find]
exclude = [
"docs",
"tests",
"scripts",
"nix",
] # exclude packages matching these glob patterns (empty by default)
[tool.setuptools.package-data]
fabulous = ["**/*"]
[tool.interrogate]
ignore-init-method = false
ignore-init-module = false
ignore-magic = false
ignore-semiprivate = false
ignore-private = true
ignore-property-decorators = false
ignore-module = false
ignore-nested-functions = false
ignore-nested-classes = true
ignore-setters = true
ignore-overloaded-functions = true
fail-under = 95
ignore-regex = ".*Like$"
# Exclude patterns - kept in sync with .gitignore
# Note: interrogate doesn't natively support .gitignore files
exclude = [
"setup.py",
"docs",
"build",
".venv",
"venv",
"demo*",
"tests",
"**/__pycache__",
"*.egg-info",
".vscode",
"oss-cad-suite",
"scripts",
]
[dependency-groups]
dev = [
"cocotb>=2.0.0",
"deptry>=0.20.0",
"pre-commit>=4.2.0",
"pytest>=8.4.1",
"pytest-cov>=6.2.1",
"pytest-mock>=3.14.1",
"pytest-split>=0.10.0",
"ruff>=0.12.7",
"pyyaml>=6.0.0",
"interrogate>=1.7.0",
]
[tool.coverage.run]
branch = true
parallel = true
source = ["fabulous"]
[tool.coverage.report]
omit = ["*/__init__.py", "*/__pycache__/*", "tests/*", "demo/*", "docs/*"]
show_missing = true
skip_covered = true
[tool.coverage.xml]
output = "coverage.xml"
[tool.coverage.html]
directory = "coverage_html"
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["slow: marks tests as slow (use --runslow to include)"]
addopts = "-m 'not slow'"
[tool.deptry]
# Ignore platform-specific readline dependencies for DEP002 (defined but not used)
# These are indirect requirements needed by cmd2 and other interactive CLI tools
extend_exclude = ["fabulous/fabric_generator/gds_generator/script", "docs"]
[tool.deptry.per_rule_ignores]
DEP002 = ["pyreadline3", "gnureadline", "go-task-bin"]
[tool.deptry.package_module_name_map]
FABulous-bit-gen = "FABulous_bit_gen"