forked from Frankkkkk/python-pylontech
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (70 loc) · 1.49 KB
/
pyproject.toml
File metadata and controls
82 lines (70 loc) · 1.49 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
[project]
name = "python-pylontech-ext"
version = "0.4.6"
description = "Interfaces with Pylontech Batteries using RS485 protocol"
authors = [
{ name = "Frank Villaro-Dixon", email = "frank@villaro-dixon.eu" },
{ name = "Pavel Shirshov", email = "pshirshov@eml.cc" },
]
requires-python = ">=3.13"
readme = "README.md"
license = "MIT"
keywords = [
"pylontech",
"pylon",
"rs485",
"lithium battery",
"US2000",
"US2000C",
"US3000",
"US5000",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"pyserial",
"construct",
"standard-telnetlib",
"Exscript",
"rich",
"pymongo",
"requests",
"paho-mqtt",
"ha-mqtt-discoverable",
]
url = "http://github.com/Frankkkkk/python-pylontech"
[project.scripts]
poller = "pylontechpoller:poller.main"
[dependency-groups]
test = ["pytest"]
dev = ["flake8"]
[tool.uv]
default-groups = [
"test",
"dev",
]
[tool.hatch.build.targets.sdist]
include = [
"src/pylontech",
"src/pylontechpoller",
]
exclude = ["demos"]
[tool.hatch.build.targets.wheel]
include = [
"src/pylontech",
"src/pylontechpoller",
]
exclude = ["demos"]
[tool.hatch.build.targets.wheel.sources]
"src/pylontech" = "pylontech"
"src/pylontechpoller" = "pylontechpoller"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
testpaths = ["tests"]
log_cli_level = "INFO"
xfail_strict = true