Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (88 loc) · 3.23 KB
/
Copy pathpyproject.toml
File metadata and controls
98 lines (88 loc) · 3.23 KB
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
[tool.poetry]
name = "meshtastic"
version = "2.7.11"
description = "Python API & client shell for talking to Meshtastic devices"
authors = ["Meshtastic Developers <[email protected]>"]
license = "GPL-3.0-only"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11,<3.16" # 3.11 is the oldest non-EOL Python (3.9 EOL 2025-10, 3.10 EOL 2026-10)
pyserial = "^3.5"
protobuf = ">=4.21.12"
tabulate = "^0.9.0"
requests = "^2.31.0"
pyyaml = "^6.0.1"
pypubsub = "^4.0.3"
bleak = ">=0.22.3"
packaging = ">=24.0"
argcomplete = { version = "^3.5.2", optional = true }
pyqrcode = { version = "^1.2.1", optional = true }
dotmap = { version = "^1.3.30", optional = true }
print-color = { version = "^0.4.6", optional = true }
dash = { version = "^2.17.1", optional = true }
pytap2 = { version = "^2.3.0", optional = true }
dash-bootstrap-components = { version = "^1.6.0", optional = true }
pandas = [
{ version = ">=2.2.2,<3", optional = true, python = "<3.13" },
{ version = ">=3.1.1", optional = true, python = ">=3.13" },
]
pandas-stubs = { version = "^2.2.2.240603", optional = true }
wcwidth = {version = "^0.2.13", optional = true}
[tool.poetry.group.dev.dependencies]
hypothesis = "^6.103.2"
pytest = ">=8.2.2,<10.0.0"
# coverage >= 7.13.3 fixes a Python 3.14 sysmon-core performance regression (coveragepy #2082)
pytest-cov = "^7.1.0"
coverage = ">=7.13.3"
pdoc3 = "^0.10.0"
autopep8 = "^2.1.0"
# pylint >= 4.1 handles Python 3.15's decimal fallback shim (no _decimal ext in
# some CI interpreter builds) and the 3.14+ type-statement syntax.
pylint = "^4.1.4"
pyinstaller = "^6.10.0"
mypy = "^1.10.0"
mypy-protobuf = "^3.3.0"
types-protobuf = "^5.26.0.20240422"
types-tabulate = "^0.9.0.20240106"
types-requests = "^2.31.0.20240406"
types-setuptools = "^69.5.0.20240423"
types-pyyaml = "^6.0.12.20240311"
pyarrow-stubs = "^10.0.1.7"
[tool.poetry.group.powermon]
optional = true
[tool.poetry.group.powermon.dependencies]
riden = { git = "https://github.com/geeksville/riden.git#1.2.1" }
ppk2-api = "^0.9.2"
parse = "^1.20.2"
pyarrow = [
{ version = "^18.0.0", python = "<3.14" },
{ version = "^22.0.0", python = ">=3.14,<3.15" },
{ version = "^26.0.0", python = ">=3.15" }
]
platformdirs = "^4.2.2"
# If you are doing power analysis you might want these extra devtools
[tool.poetry.group.analysis]
optional = true
[tool.poetry.group.analysis.dependencies]
jupyterlab = "^4.2.2"
matplotlib = "^3.9.0"
ipympl = "^0.9.4"
ipywidgets = "^8.1.3"
jupyterlab-widgets = "^3.0.11"
[tool.poetry.extras]
cli = ["pyqrcode", "print-color", "dotmap", "argcomplete", "wcwidth"]
tunnel = ["pytap2"]
analysis = ["dash", "dash-bootstrap-components", "pandas", "pandas-stubs"]
[tool.poetry.scripts]
meshtastic = "meshtastic.__main__:main"
mesh-tunnel = "meshtastic.__main__:tunnelMain [tunnel]"
mesh-analysis = "meshtastic.analysis.__main__:main [analysis]"
# "Poe the poet" (optional) provides an easy way of running non python tools inside the poetry virtualenv
# if you would like to use it run "pipx install poe"
# then you can do stuff like "poe code" to run vscode inside this environment
[tool.poe.tasks]
code = "code ."
juypter = "poetry run jupyter lab"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"