mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
41 lines
1.2 KiB
TOML
41 lines
1.2 KiB
TOML
[tool.poetry]
|
|
name = "uhd"
|
|
version = "${UHD_VERSION_MAJOR}.${UHD_VERSION_API}.${UHD_VERSION_ABI}.${UHD_VERSION_PATCH_ORIG}"
|
|
description = "Universal Software Radio Peripheral (USRP) Hardware Driver Python API"
|
|
keywords=["SDR", "UHD", "USRP"]
|
|
authors=["Ettus Research <uhd.maintainer@emerson.com>"]
|
|
license="GPL-3.0-or-later"
|
|
readme = "README.md"
|
|
classifiers=[
|
|
"@UHD_DEV_STATUS@",
|
|
"Programming Language :: C++",
|
|
"Programming Language :: Python",
|
|
"Topic :: System :: Hardware :: Hardware Drivers",
|
|
]
|
|
exclude = [
|
|
"usrp_mpm"
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.10,<3.14"
|
|
numpy = [
|
|
{version = ">=2.0.0", python = ">=3.13"},
|
|
{version = ">=@UHD_NUMPY_MIN_VERSION@,<2.0.0", python = "<3.13"}
|
|
]
|
|
mako = ">=@UHD_PY_MAKO_MIN_VERSION@"
|
|
ruamel-yaml = ">=@UHD_RUAMEL_YAML_MIN_VERSION@"
|
|
|
|
[tool.poetry.build]
|
|
# Poetry should build a platform specific wheel, because the binding lib
|
|
# is build beforehand using cmake poetry does not know it should build
|
|
# a platform specific wheel but by providing an empty `uhd_build.py`.
|
|
script = "uhd_build.py"
|
|
generate-setup-file = true
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
|
|
[build-system]
|
|
requires = ["poetry-core", "setuptools"]
|
|
build-backend = "poetry.core.masonry.api"
|