vigilar/pyproject.toml
Aaron D. Lee 6b7adc1cb6 feat(S3): visitor event types, VisitorsConfig, face_recognition dependency
Add KNOWN_VISITOR, UNKNOWN_VISITOR, VISITOR_DEPARTED to EventType enum.
Add VisitorsConfig model to config.py and wire into VigilarConfig.
Add face_recognition>=1.3.0 under [face] optional-dependencies in pyproject.toml.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 18:56:55 -04:00

67 lines
1.2 KiB
TOML

[build-system]
requires = ["setuptools>=69.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "vigilar"
version = "0.1.0"
description = "DIY offline-first home security system"
requires-python = ">=3.11"
license = {text = "MIT"}
dependencies = [
"opencv-python-headless>=4.9.0",
"paho-mqtt>=2.1.0",
"flask>=3.0.0",
"gunicorn>=22.0.0",
"sqlalchemy>=2.0.0",
"alembic>=1.13.0",
"pydantic>=2.7.0",
"pillow>=10.3.0",
"cryptography>=42.0.0",
"click>=8.1.7",
"pynut2>=0.1.0",
"pywebpush>=2.0.0",
"py-vapid>=1.9.0",
"ultralytics>=8.2.0",
"torchvision>=0.18.0",
]
[project.optional-dependencies]
gpio = [
"gpiozero>=2.0.1",
"RPi.GPIO>=0.7.1",
]
face = [
"face_recognition>=1.3.0",
]
dev = [
"pytest>=8.2.0",
"pytest-cov>=5.0.0",
"mypy>=1.10.0",
"ruff>=0.4.0",
"httpx>=0.27.0",
]
[project.scripts]
vigilar = "vigilar.cli.main:cli"
[tool.setuptools.packages.find]
where = ["."]
include = ["vigilar*"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true