FeNigma/run.sh
Dominik Roth db414782f6 Add install.sh, run.sh uses the venv when present
install.sh creates a --system-site-packages venv (so it can still see
the system-installed PyGObject bindings, which pip can't build
reliably) and pip-installs the rest of requirements.txt into it.
Checks for PyGObject (GTK4 + libadwaita) and tesseract up front and
prints per-distro package hints if either is missing, rather than
failing deep into pip install. run.sh now prefers .venv/bin/python3
when it exists, falling back to system python3 otherwise. README gets
an Install section describing this.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-08 20:18:15 +02:00

10 lines
219 B
Bash
Executable File

#!/usr/bin/env bash
# Launch FeNigma.
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
PYTHON=python3
[ -x .venv/bin/python3 ] && PYTHON=.venv/bin/python3
exec env PYTHONPATH=src "$PYTHON" -m ironnest_assist.app