-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (66 loc) · 1.62 KB
/
pyproject.toml
File metadata and controls
74 lines (66 loc) · 1.62 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
[project]
name = "powermon"
version = "2.0.1"
description = "Package to communicate with Solar inverters and BMSs"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{name = "John Blance"},
]
requires-python = ">=3.11,<3.13"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"paho-mqtt>=1.6,<2.0.0",
"pyserial>=3.5,<4.0.0",
"pydantic>=2.7,<3.0",
"PyYAML>=6.0,<7.0",
"pyaml-env<2.0.0,>=1.2.1",
"construct<3.0.0,>=2.10.70",
"dateparser<2.0.0,>=1.2.0",
"tenacity<10.0.0,>=9.0.0",
"ruamel-yaml<1.0.0,>=0.18.6",
"deepdiff<9.0.0,>=8.0.1",
"rich<14.0.0,>=13.9.4",
"typer>=0.24.1",
]
[project.urls]
"Bug Tracker" = "https://github.com/jblance/powermon/issues"
repository = "https://github.com/jblance/powermon"
documentation = "https://jblance.github.io/powermon/index.html"
[project.optional-dependencies]
ble = [
"bleak>=0.21.1",
"pycryptodome<4.0.0,>=3.20.0",
]
systemd = [
"cysystemd>=1.6.0",
]
modbus = [
"pymodbus<4.0.0,>=3.6.4",
]
[project.scripts]
powermon = "powermon.powermon:main"
powermon-cli = "powermon.cli.main:main"
[tool.pdm.build]
includes = ["powermon", "*.mo"]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[dependency-groups]
dev = [
"black>=26.3.1",
"mkdocs-material>=9.7.6",
"mkdocstrings>=1.0.3",
"mkdocstrings-python>=2.0.3",
"pytest>=9.0.3",
"ruff>=0.15.9",
"zensical>=0.0.32",
]
[tool.black]
line-length = 149
target-version = ["py312"]