fix(setup): add numpy to requirements; gitignore downloaded voice models

tools/video/green_screen_composite.py imports numpy at module level (and
declares "python:numpy" as a dependency), but numpy was missing from
requirements.txt. Because registry.discover() imports every tool module,
a fresh `make setup` followed by the mandatory preflight crashes with
ModuleNotFoundError: No module named 'numpy'. Add numpy>=1.24.

Also gitignore *.onnx/*.onnx.json so Piper TTS voice models fetched at
runtime (e.g. en_US-lessac-medium.onnx, ~60MB) aren't accidentally
committed to the repo root.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Mike Laniak
2026-06-24 01:23:09 -05:00
parent 0d917ea2ca
commit cf3bb2b8ed

4
.gitignore vendored
View File

@@ -6,6 +6,10 @@ __pycache__/
dist/
build/
# Local model downloads (e.g. Piper TTS voices, fetched at runtime — not source)
*.onnx
*.onnx.json
# Test/IDE
.pytest_cache/
.mypy_cache/