Files
HomeOS/pyproject.toml
2026-03-29 21:26:00 +08:00

38 lines
800 B
TOML

[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mqtt-home"
version = "0.1.0"
description = "轻量级智能家居 MQTT 设备管理系统"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.30.0",
"aiomqtt>=2.0.0",
"sqlalchemy[asyncio]>=2.0.0",
"aiosqlite>=0.20.0",
"pydantic-settings>=2.0.0",
"click>=8.1.0",
"httpx>=0.27.0",
"websockets>=12.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-httpx>=0.30.0",
"httpx>=0.27.0",
]
[project.scripts]
mqtt-home = "mqtt_home.cli:cli"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]