-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
119 lines (109 loc) · 3.1 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.13.0", "hatch-fancy-pypi-readme"]
[project]
authors = [
{name = "Marek Sebera", email = "marek.sebera@gmail.com"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Environment :: Console",
"Topic :: Communications :: Ham Radio",
"Operating System :: POSIX :: Linux",
"Typing :: Typed",
"Framework :: Pytest",
"Intended Audience :: Telecommunications Industry",
"Natural Language :: English",
"Programming Language :: Python :: 3.8"
]
dependencies = [
"dmr-kaitai>=1.0",
"bitarray>=2.7",
"numpy>=1.24.0",
"scapy>=2.4.0",
"asyncio>=3.4.0",
"puresnmp>=2.0.0.post1"
]
description = "DMR PDUs, elements, FEC and CRC library, including proprietary DMR protocols of Hytera and Motorola"
dynamic = ["readme"]
keywords = [
"dmr",
"etsi",
"ham",
"mmdvm",
"homebrew",
"radio",
"hytera",
"motorola"
]
license = {text = "AGPL-3.0"}
name = "ok-dmrlib"
requires-python = ">=3.8"
version = "0.8.0"
[project.optional-dependencies]
pre-commit = ["pre-commit>=3.0.0"]
test = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-asyncio>=0.20.0",
"crc>=7.0.0",
"coverage>=7.4.0"
]
[project.scripts]
dmrlib-dmr-burst = "okdmr.dmrlib.tools.dmrlib_tool:DmrlibTool.burst"
dmrlib-dmr-csbk = "okdmr.dmrlib.tools.dmrlib_tool:DmrlibTool.csbk"
dmrlib-dmr-full-lc = "okdmr.dmrlib.tools.dmrlib_tool:DmrlibTool.full_lc"
dmrlib-dmr-header = "okdmr.dmrlib.tools.dmrlib_tool:DmrlibTool.header"
dmrlib-dmr-ipudp = "okdmr.dmrlib.tools.dmrlib_tool:DmrlibTool.ipudp"
dmrlib-dsd-fme = "okdmr.dmrlib.tools.dmrlib_tool:DmrlibTool.dsdfme"
dmrlib-hrnp-connect = "okdmr.dmrlib.tools.hrnp_client:HRNPClient.run"
dmrlib-hytera-hdap = "okdmr.dmrlib.tools.hytera_tool:HyteraTool.hdap"
dmrlib-hytera-hrnp = "okdmr.dmrlib.tools.hytera_tool:HyteraTool.hrnp"
dmrlib-hytera-hstrp = "okdmr.dmrlib.tools.hytera_tool:HyteraTool.hstrp"
dmrlib-hytera-lp = "okdmr.dmrlib.tools.hytera_tool:HyteraTool.lp"
dmrlib-hytera-rcp = "okdmr.dmrlib.tools.hytera_tool:HyteraTool.rcp"
dmrlib-hytera-rrs = "okdmr.dmrlib.tools.hytera_tool:HyteraTool.rrs"
dmrlib-hytera-tmp = "okdmr.dmrlib.tools.hytera_tool:HyteraTool.tmp"
dmrlib-pcap-tool = "okdmr.dmrlib.tools.pcap_tool:PcapTool.main"
[project.urls]
repository = "https://github.com/OK-DMR/ok-dmrlib"
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"pass",
"continue",
"traceback.print_exc()",
"raise KeyError",
"raise ValueError"
]
precision = 2
[tool.coverage.run]
# branch is currently broken see: https://github.com/nedbat/coveragepy/issues/1530
branch = false
source = ["okdrm.dmrlib"]
[tool.hatch.build.targets.sdist]
exclude = [
".gitignore",
"/.gitignore",
".gitkeep",
"/okdmr/tests",
"/.github"
]
include = [
"/README.md",
"/okdmr",
"/Makefile",
"/.yamllint",
"/.pre-commit-config.yaml",
"/setup.py"
]
[tool.hatch.build.targets.wheel]
packages = ["/okdmr"]
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/markdown"
fragments = [
{path = "README.md"}
]
[tool.isort]
profile = "black"