SXXXXXXX_PyUCC/run
VALLONGOL 4fdd646d60 Chore: Stop tracking files based on .gitignore update.
Untracked files matching the following rules:
- Rule "*.zip": 1 file
2025-11-24 10:15:59 +01:00

18 lines
465 B
Bash

#!/usr/bin/env bash
set -euo pipefail
# Launcher script to run the project using the local .venv Python
# Usage: ./run [args...]
PROJECT_ROOT="$(cd "$(dirname "$0")" && pwd)"
VENV="$PROJECT_ROOT/.venv"
PYTHON="$VENV/bin/python"
if [ ! -x "$PYTHON" ]; then
echo "Virtualenv not found or incomplete at $VENV." >&2
echo "Create it with: python3 -m venv .venv && .venv/bin/python -m pip install -r requirements.txt" >&2
exit 1
fi
exec "$PYTHON" -m pyucc "$@"