Spaces:
Sleeping
Sleeping
| set -euo pipefail | |
| ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)" | |
| WHEEL_DIR="$ROOT_DIR/vendor/wheels" | |
| if [ ! -d "$WHEEL_DIR" ]; then | |
| echo "[ERROR] Missing wheelhouse at $WHEEL_DIR" | |
| echo "Build it online first: ./scripts/build_wheelhouse_online.sh" | |
| exit 1 | |
| fi | |
| python -m pip install --no-index --find-links "$WHEEL_DIR" -r "$ROOT_DIR/requirements.txt" | |
| echo "Offline dependencies installed successfully." | |