pyModeS/pyproject.toml

63 lines
1.4 KiB
TOML
Raw Normal View History

2022-12-28 06:58:28 +08:00
[tool.poetry]
name = "pyModeS"
2023-08-13 16:57:20 +08:00
version = "2.17"
2022-12-28 06:58:28 +08:00
description = "Python Mode-S and ADS-B Decoder"
authors = ["Junzi Sun <j.sun-1@tudelft.nl>"]
license = "GNU GPL v3"
readme = "README.rst"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Typing :: Typed",
]
packages = [
{ include = "pyModeS", from = "." },
]
include = [
"LICENSE",
"*.pyx",
"*.pxd",
"*.pyi",
"py.typed",
2023-08-13 16:57:20 +08:00
{ path = "pyModeS/**/*.so", format = "wheel" },
{ path = "pyModeS/**/*.pyd", format = "wheel" }
2022-12-28 06:58:28 +08:00
]
2024-03-04 00:22:16 +08:00
build = "build.py"
2022-12-28 06:58:28 +08:00
[tool.poetry.scripts]
modeslive = "pyModeS.streamer.modeslive:main"
[tool.poetry.dependencies]
2024-03-04 00:22:16 +08:00
python = "^3.9"
numpy = ">=1.26"
2023-08-23 04:38:50 +08:00
pyzmq = ">=24.0"
pyrtlsdr = {version = ">=0.2.93", optional = true}
2022-12-28 06:58:28 +08:00
[tool.poetry.group.dev.dependencies]
2023-08-23 04:38:50 +08:00
mypy = ">=0.991"
flake8 = ">=5.0.0"
black = ">=22.12.0"
isort = ">=5.11.4"
pytest = ">=7.2.0"
pytest-cov = ">=4.0.0"
codecov = ">=2.1.12"
2022-12-28 06:58:28 +08:00
[tool.poetry.extras]
rtlsdr = ["pyrtlsdr"]
[tool.black]
line-length = 80
2024-03-04 00:22:16 +08:00
target_version = ['py39', 'py310', 'py311', 'py312']
2022-12-28 06:58:28 +08:00
include = '\.pyi?$'
[tool.isort]
line_length = 80
profile = "black"
[build-system]
2024-03-04 00:22:16 +08:00
requires = ["poetry-core>=1.0.0", "Cython>=0.29.32", "setuptools>=69.1.1"]
2022-12-28 06:58:28 +08:00
build-backend = "poetry.core.masonry.api"