Files
qianbian/pyproject.toml

33 lines
871 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "ppclock"
version = "0.2.0b1"
description = "4.2寸墨水屏设备离线 CLI 上位机(DA14585 BLE,agent 友好)"
requires-python = ">=3.10"
dependencies = [
"bleak>=0.22",
"pillow>=10",
# 纯 Python 离线库,不违反零网络不变量;templates.py qrcode 模板硬依赖
"qrcode>=7",
]
[project.optional-dependencies]
dev = ["pytest>=8", "pytest-asyncio"]
# 地板 1.23:transport_security(--allowed-hosts 依赖)自 1.23 引入 + CVE-2025-66416 修复
mcp = ["mcp>=1.23,<2"]
[project.scripts]
ppclock = "ppclock.cli:main"
ppclock-bridge = "ppclock.bridge_server:run"
ppclock-mcp = "ppclock.mcp_server:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
pythonpath = ["src", "."]
testpaths = ["tests"]