feat: plan the experiment
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
PYTHON="${PYTHON:-python3}"
|
||||
"$PYTHON" -c 'import sys; sys.exit("Use Python 3.12 for the pinned analysis environment") if sys.version_info[:2] != (3, 12) else None'
|
||||
"$PYTHON" -m venv "$ROOT/.venv"
|
||||
"$ROOT/.venv/bin/python" -m pip install --no-compile -r "$ROOT/experiments/requirements.txt"
|
||||
"$ROOT/.venv/bin/python" -m pip check
|
||||
printf '\nReady: %s/.venv/bin/python\n' "$ROOT"
|
||||
Reference in New Issue
Block a user