-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (39 loc) · 1000 Bytes
/
Copy pathpyproject.toml
File metadata and controls
47 lines (39 loc) · 1000 Bytes
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
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.backends.legacy:build"
[project]
name = "zen-bridge"
version = "0.1.0"
description = "Local MQTT bridge for Zendure SolarFlow – no cloud required"
readme = "README.md"
license = { text = "GPL-3.0-or-later" }
authors = [
{ name = "Tobias Frost", email = "tobi@coldtobi.de" }
]
requires-python = ">=3.11"
# I'm prefering apt packages
# These are listed here for reference / non-Debian installs.
dependencies = [
"paho-mqtt>=1.6",
"pyyaml>=6.0",
]
[project.optional-dependencies]
# Meilenstein 4: Regellogik & Preisoptimierung
automation = [
"requests>=2.28",
"APScheduler>=3.10",
]
[project.scripts]
zendure-bridge = "zendure_bridge.bridge:main"
[tool.setuptools.packages.find]
where = ["."]
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
testpaths = ["tests"]