-
Notifications
You must be signed in to change notification settings - Fork 152
/
pyproject.toml
59 lines (50 loc) · 1.31 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
[project]
name = "pyModeS"
version = "2.19"
description = "Python Mode-S and ADS-B Decoder"
authors = [{ name = "Junzi Sun", email = "[email protected]" }]
license = { text = "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",
]
requires-python = ">=3.9"
dependencies = ["numpy>=1.26", "pyzmq>=24.0"]
[project.optional-dependencies]
rtlsdr = ["pyrtlsdr>=0.2.93"]
[tool.uv]
dev-dependencies = [
"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",
]
[project.scripts]
modeslive = "pyModeS.streamer.modeslive:main"
[tool.ruff]
target-version = "py310"
[tool.ruff.lint]
select = [
"E",
"W", # pycodestyle
"F", # pyflakes
"I", # isort
"NPY", # numpy
"NPY201", # numpy
# "PD", # pandas
"DTZ", # flake8-datetimez
"RUF",
]
[tool.ruff.lint.isort]
known-first-party = ["numpy", "pandas", "pyproj", "shapely"]
[build-system]
requires = ["hatchling", "Cython>=0.29.32", "setuptools>=69.1.1"]
build-backend = "hatchling.build"