Initial: fingerprint DB + Takeout fetch + ingest flows

This commit is contained in:
2026-08-07 20:41:32 +10:00
commit 16123d00f1
10 changed files with 614 additions and 0 deletions

15
run-python.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# NixOS venv wrapper: exposes needed system libs (libstdc++, zlib, ...) to the
# photo-pipeline venv. Edit NIX_LIBS as new deps (e.g. opencv) require more.
set -euo pipefail
NIX_LIBS=(
/nix/store/0iv8glcslgfcgn371lbjr5jjw5a6cqir-gcc-15.3.0-lib/lib
/nix/store/l7xwm1f6f3zj2x8jwdbi8gdyfbx07sh7-zlib-1.3.1/lib
)
# Merge with any pre-existing LD_LIBRARY_PATH
EXISTING="${LD_LIBRARY_PATH:-}"
export LD_LIBRARY_PATH="$(IFS=:; echo "${NIX_LIBS[*]}"):${EXISTING}"
exec "$HOME/photo-pipeline/.venv/bin/python" "$@"