-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
235 lines (222 loc) · 8.17 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
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
[build-system]
requires = [
"setuptools>=75.6.0",
"wheel>=0.45.1",
"pybind11>=2.13.6",
"scikit-build-core>=0.10.7",
]
build-backend = "scikit_build_core.build"
[project]
name = "hermespy"
version = "1.4.0"
authors = [
{name = "Jan Adler", email ="[email protected]"},
]
maintainers = [
{name = "Jan Adler", email = "[email protected]"},
]
description = "The Heterogeneous Radio Mobile Simulator"
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
keywords = [
"simulation", "link-level", "communication", "radar", "channel",
"signal processing", "MIMO", "monte carlo",
]
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
]
dependencies = [
"numpy<=1.26.4", # <2.1 required for numba compatibility, <2.0 required for Sionna's tensorflow compatibility, pybind11 compatibility only up to 1.26.4
"matplotlib>=3.10.0",
"h5py>=3.8.0",
"scipy>=1.14.1",
"pybind11>=2.10.4",
"ray>=2.40.0",
"ruamel.yaml>=0.17.32",
"sparse>=0.15.4",
"numba>=0.60.0",
"rich>=13.9.4",
]
[project.urls]
Documentation = "https://hermespy.org/"
Homepage = "https://github.com/Barkhausen-Institut/hermespy.git"
Issues = "https://github.com/Barkhausen-Institut/hermespy/issues"
[project.scripts]
hermes = "hermespy.bin:hermes_simulation"
[project.optional-dependencies]
test = [
"pytest>=7.4.2",
"coverage>=7.5.1",
"mypy>=1.13.0",
"nbformat",
"nbconvert",
]
quadriga = [
"oct2py>=5.6.0",
]
documentation = [
"sphinx>=8.1.3",
"furo>=2024.8.6",
"sphinx-autodoc-typehints>=1.25.2",
"sphinxcontrib-apidoc>=0.5.0",
"sphinxcontrib-mermaid>=1.0.0",
"sphinxcontrib-bibtex>=2.6.3",
"sphinx-tabs>=3.4.7",
"sphinx-copybutton>=0.5.2",
"sphinx-carousel>=1.2.0",
"nbsphinx>=0.9.5",
"ipywidgets==8.0.5", # Required for sionna compatibility
]
uhd = [
"usrp-uhd-client==1.7.3",
]
audio = [
"sounddevice>=0.4.6",
]
develop = [
"pybind11>=2.13.6",
"scikit-build-core>=0.10.7",
"cmake>=3.31.2",
"wheel>=0.45.1",
"black>=24.10.0",
"flake8>=7.1.1",
"coverage>=7.6.9",
"mypy>=1.13.0",
]
sionna = [
"mitsuba<=3.5.2",
"sionna>=0.19.1",
]
scapy = [
"scapy>=2.5.0",
]
[tool.scikit-build]
cmake.build-type = "Release" # "Debug" or "Release"
editable.mode = "redirect"
ninja.make-fallback = true
logging.level = "INFO"
sdist.include = []
sdist.exclude = [
"/_examples/",
"/docssource/",
"/scripts/",
"/submodules/quadriga",
"/submodules/affect/ci/",
"/submodules/affect/conf/",
"/submodules/affect/doc/",
"/submodules/affect/refs/",
".flake8",
"/.git*",
"/tests/",
]
sdist.reproducible = true
sdist.cmake = true
wheel.packages = ["hermespy", "hermespy/*"]
wheel.license-files = ["LICENSE"]
wheel.cmake = true
wheel.exclude = [
"*.cpp",
"CMakeLists.txt",
]
experimental = false
build-dir = "build/{wheel_tag}"
strict-config = true
install.components = ["PythonModule"]
install.strip = false
[tool.black]
line-length = 100
target-version = ['py39']
[tool.coverage.run]
omit = [
"*/tests/*",
"*__init__.py*",
]
[tool.mypy]
namespace_packages = true
strict_optional = false
no_implicit_optional = true
explicit_package_bases = true
packages = "hermespy.beamforming, hermespy.bin, hermespy.channel, hermespy.core, hermespy.fec, hermespy.hardware_loop, hermespy.jcas, hermespy.modem, hermespy.radar, hermespy.simulation, hermespy.tools"
plugins = "numpy.typing.mypy_plugin"
[[tool.mypy.overrides]]
module = "numpy.*,scipy.*,oct2py.*,matlab.*,matplotlib.*,ruamel.*,numba.*,h5py.*,hermespy.fec.aff3ct.*,zerorpc.*,sounddevice.*,usrp_client.*,uhd_wrapper.*"
ignore_missing_imports = true
[bumpver]
current_version = "1.4.0"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "Bump to version {new_version}"
commit = false
tag = false
push = false
[bumpver.file_patterns]
# Root directory files
"README.md" = [ "{version}" ]
"pyproject.toml" = [ 'current_version = "{version}"', 'version = "{version}"' ]
".gitlab-ci.yml" = [ 'HERMES_VERSION: "{version}"' ]
"scripts/docker/build_manylinux.sh" = [ 'version={version}' ]
# Source files
"hermespy/beamforming/*.py" = [ '__version__ = "{version}"' ]
"hermespy/bin/*.py" = [ '__version__ = "{version}"' ]
"hermespy/channel/*.py" = [ '__version__ = "{version}"' ]
"hermespy/channel/cdl/*.py" = [ '__version__ = "{version}"' ]
"hermespy/channel/delay/*.py" = [ '__version__ = "{version}"' ]
"hermespy/channel/fading/*.py" = [ '__version__ = "{version}"' ]
"hermespy/channel/quadriga/*.py" = [ '__version__ = "{version}"' ]
"hermespy/channel/radar/*.py" = [ '__version__ = "{version}"' ]
"hermespy/core/*.py" = [ '__version__ = "{version}"' ]
"hermespy/fec/*.py" = [ '__version__ = "{version}"' ]
"hermespy/hardware_loop/*.py" = [ '__version__ = "{version}"' ]
"hermespy/hardware_loop/audio/*.py" = [ '__version__ = "{version}"' ]
"hermespy/hardware_loop/calibration/*.py" = [ '__version__ = "{version}"' ]
"hermespy/hardware_loop/uhd/*.py" = [ '__version__ = "{version}"' ]
"hermespy/jcas/*.py" = [ '__version__ = "{version}"' ]
"hermespy/modem/*.py" = [ '__version__ = "{version}"' ]
"hermespy/modem/frame_generator/*.py" = [ '__version__ = "{version}"' ]
"hermespy/modem/precoding/*.py" = [ '__version__ = "{version}"' ]
"hermespy/modem/tools/*.py" = [ '__version__ = "{version}"' ]
"hermespy/modem/waveforms/*.py" = [ '__version__ = "{version}"' ]
"hermespy/modem/waveforms/orthogonal/*.py" = [ '__version__ = "{version}"' ]
"hermespy/radar/*.py" = [ '__version__ = "{version}"' ]
"hermespy/simulation/*.py" = [ '__version__ = "{version}"' ]
"hermespy/simulation/coupling/*.py" = [ '__version__ = "{version}"' ]
"hermespy/simulation/isolation/*.py" = [ '__version__ = "{version}"' ]
"hermespy/simulation/modem/*.py" = [ '__version__ = "{version}"' ]
"hermespy/simulation/noise/*.py" = [ '__version__ = "{version}"' ]
"hermespy/simulation/rf_chain/*.py" = [ '__version__ = "{version}"' ]
"hermespy/tools/*.py" = [ '__version__ = "{version}"' ]
# Test files
"tests/integration_tests/*.py" = [ '__version__ = "{version}"' ]
"tests/integrity_tests/documentation/*.py" = [ '__version__ = "{version}"' ]
"tests/integrity_tests/examples/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/bin/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/beamforming/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/channel/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/core/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/fec/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/hardware_loop/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/hardware_loop/audio/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/hardware_loop/calibration/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/hardware_loop/uhd/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/jcas/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/modem/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/modem/precoding/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/modem/tools/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/modem/waveforms/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/modem/waveforms/orthogonal/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/radar/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/simulation/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/simulation/coupling/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/simulation/isolation/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/simulation/modem/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/simulation/noise/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/simulation/rf_chain/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/tools/*.py" = [ '__version__ = "{version}"' ]
"tests/unit_tests/*.py" = [ '__version__ = "{version}"' ]