-
Notifications
You must be signed in to change notification settings - Fork 533
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (115 loc) · 3.18 KB
/
pyproject.toml
File metadata and controls
126 lines (115 loc) · 3.18 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=61", "setuptools-scm>=8" ]
[project]
name = "hls4ml"
description = "Machine learning in FPGAs using HLS"
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [ { name = "hls4ml Team" } ]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: C++",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = [ "version" ]
dependencies = [ "h5py", "numpy", "pydigitalwavetools==1.1", "pyyaml", "quantizers" ]
optional-dependencies.da = [ "da4ml>=0.4,<0.5" ]
optional-dependencies.doc = [
"sphinx",
"sphinx-contributors",
"sphinx-github-changelog",
"sphinx-rtd-theme",
"sphinx-tabs",
]
optional-dependencies.hgq = [ "hgq>=0.2.3" ]
optional-dependencies.hgq2 = [ "hgq2>=0.0.1" ]
optional-dependencies.keras-v3 = [ "keras>=3.10" ]
optional-dependencies.onnx = [ "onnx>=1.4" ]
optional-dependencies.optimization = [
"keras-tuner==1.1.3",
"ortools==9.4.1874",
"packaging",
]
optional-dependencies.profiling = [ "matplotlib", "pandas", "seaborn" ]
optional-dependencies.qkeras = [
"qkeras",
"tensorflow>=2.8,<=2.14.1",
"tensorflow-model-optimization<=0.7.5",
]
optional-dependencies.quartus-report = [ "calmjs-parse", "tabulate" ]
optional-dependencies.sr = [ "sympy>=1.13.1" ]
optional-dependencies.testing = [
"calmjs-parse",
"onnx>=1.4",
"pytest",
"pytest-cov",
"pytest-randomly",
"qonnx",
"tabulate",
"torch",
]
optional-dependencies.testing-keras2 = [
"hgq>=0.2.3",
"qkeras",
"tensorflow>=2.8,<=2.14.1",
]
optional-dependencies.testing-keras3 = [
"da4ml",
"hgq2>=0.0.1",
"keras>=3.10",
"tensorflow>=2.15",
]
urls.Homepage = "https://fastmachinelearning.org/hls4ml"
scripts.hls4ml = "hls4ml.cli:main"
entry-points.pytest_randomly.random_seeder = "hls4ml:reseed"
[tool.setuptools]
packages = [ "hls4ml" ]
include-package-data = true
[tool.setuptools_scm]
version_scheme = "release-branch-semver"
git_describe_command = [
"git",
"describe",
"--dirty",
"--tags",
"--long",
"--match",
"v*",
"--first-parent",
]
write_to = "hls4ml/_version.py"
[tool.ruff]
target-version = "py310"
line-length = 125
indent-width = 4
include = [ "hls4ml/**/*.py", "tests/**/*.py" ]
exclude = [ "hls4ml/_version.py", "hls4ml/templates/**" ]
format.quote-style = "single"
format.skip-magic-trailing-comma = false
format.docstring-code-line-length = 125
format.docstring-code-format = true
lint.select = [ "E", "F", "F401", "I", "W" ]
lint.ignore = [ "E741" ]
lint.per-file-ignores = { "__init__.py" = [ "F401" ] }
lint.fixable = [ "ALL" ]
lint.unfixable = [ ]
[tool.check-manifest]
ignore = [
".github/**",
"docs/**",
".pre-commit-config.yaml",
"Jenkinsfile",
"hls4ml/_version.py",
]