Files
le-mystere-professeur-zacus/tools/setup/install_validators.sh
T
Clément SAILLANT 229c381c3e docs: importer zacus_conversation_bundle_v3 et clôturer le blocage ZIP intake (#106)
* docs: import zacus conversation bundle v3 and close ZIP intake TODO

* tools: add reproducible validator installer and document next gates

* docs: remove ZIP terminology and align intake docs to conversation bundle

* tools: add runtime bundle validator and update docs workflow

* feat: promote gameplay scenario and enforce G3 bundle checks in CI

* docs: add deep repo analysis and next-step TODOs

* Initial plan (#107)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-02-25 18:17:46 +01:00

30 lines
794 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
if [[ "${1:-}" == "-h" || "${1:-}" == "--help" ]]; then
cat <<'USAGE'
Usage: bash tools/setup/install_validators.sh
Install Python dependencies required by repository validators.
Environment override:
PYTHON_BIN Python executable to use (default: python3)
USAGE
exit 0
fi
PYTHON_BIN="${PYTHON_BIN:-python3}"
REQ_FILE="tools/requirements/validators.txt"
if ! command -v "$PYTHON_BIN" >/dev/null 2>&1; then
echo "[install-validators] error: python interpreter not found: $PYTHON_BIN" >&2
exit 1
fi
if [[ ! -f "$REQ_FILE" ]]; then
echo "[install-validators] error: missing requirements file: $REQ_FILE" >&2
exit 1
fi
"$PYTHON_BIN" -m pip install --user -r "$REQ_FILE"
echo "[install-validators] ok installed requirements from $REQ_FILE"