update_windows.bat / update_macos.command: fetch release tags from Gitea, move the folder to the newest vX.Y (git downloads only what changed), connect a folder unpacked from a release zip on first run, install git/uv when missing and sync the Python libraries. Developer copies on a branch are left alone. run_* and update_* share one environment (KotaTechnicianTool/venv) instead of one per version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
597 B
TOML
22 lines
597 B
TOML
[project]
|
|
name = "kota-technician-tool"
|
|
version = "0.9.0"
|
|
description = "KOTA sensorbox technician diagnostic tool (demo)"
|
|
requires-python = ">=3.11,<3.14"
|
|
dependencies = [
|
|
"pyserial>=3.5",
|
|
"PySide6-Essentials>=6.7",
|
|
"esptool~=4.8", # 4.x CLI (write_flash/read_flash); v5 renamed commands
|
|
"segno>=1.6", # QR code for Matter pairing (pure Python)
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = ["pytest>=8", "pyfatfs>=1.0", "setuptools<81"] # pyfatfs (independent FAT32 check) needs pkg_resources
|
|
|
|
[tool.uv]
|
|
package = false
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|