- Renamed main.py to TasmotaManager.py for consistency with project name - Updated pyproject.toml to reflect the new module name - All functionality remains the same
47 lines
894 B
TOML
47 lines
894 B
TOML
[build-system]
|
|
requires = ["setuptools>=64", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "tasmota-manager"
|
|
version = "2.0.0"
|
|
description = "Discover, monitor, and manage Tasmota devices via UniFi Controller."
|
|
readme = "README.md"
|
|
requires-python = ">=3.6"
|
|
license = { text = "MIT" }
|
|
authors = [
|
|
{ name = "TasmotaManager Contributors" }
|
|
]
|
|
dependencies = [
|
|
"requests",
|
|
"urllib3"
|
|
]
|
|
|
|
[project.scripts]
|
|
tasmota-manager = "TasmotaManager:main"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-cov",
|
|
"black",
|
|
"flake8",
|
|
"mypy"
|
|
]
|
|
|
|
[tool.setuptools]
|
|
py-modules = [
|
|
"TasmotaManager",
|
|
"utils",
|
|
"unifi_client",
|
|
"discovery",
|
|
"configuration",
|
|
"console_settings",
|
|
"unknown_devices",
|
|
"reporting"
|
|
]
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["*"]
|
|
exclude = ["tests*", "docs*", "data*", ".venv*"] |