Brand assets in brand/ (the 512px mark, sizes for each surface, a multi-size .ico). Windows executables carry it as a compiled-in resource (rsrc_windows_amd64.syso from go-winres) so Explorer, the taskbar and the installer show it; installer/build.ps1 therefore uses a plain go build rather than wails build, which would add a second copy and fail the link. The tray icon is the mark with a state dot over its corner - a plain coloured circle read as a generic status light among other icons - rendered from the embedded PNG at 32px so it survives 150% scaling. The desktop app's login, setup and sidebar marks, the head-office web app's mark and favicon, and the engine dashboard's favicon are the same file. Also found while packaging: no wheel so far shipped static/, so the engine's own dashboard at :8010 on a Windows source install would have failed with a missing file. package-data now includes it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGcjxF1cNLcuwc3DAPcnfj
34 lines
873 B
TOML
34 lines
873 B
TOML
[project]
|
|
name = "behavision"
|
|
version = "1.1.0"
|
|
description = "Production face recognition over RTSP"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"numpy>=1.26,<2.0",
|
|
"opencv-python>=4.8.1",
|
|
"onnxruntime>=1.16",
|
|
"fastapi>=0.110",
|
|
"uvicorn>=0.29",
|
|
"pydantic>=2.6",
|
|
"PyYAML>=6.0",
|
|
"python-dotenv>=1.0",
|
|
"faiss-cpu>=1.7.4",
|
|
"requests>=2.31",
|
|
# DPAPI for camera passwords at rest (behavision/cameras.py). Without it the
|
|
# store logs a warning and writes them in the clear - which is what every
|
|
# Windows install had been doing, since nothing pulled this in.
|
|
"pywin32>=306; sys_platform == 'win32'",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8.0"]
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["behavision*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
behavision = ["static/*"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|