aefrs-space / scripts /install_deps_offline.sh
mohamedkh001
Deploy AEFRS complete system with models and services
ea93121
raw
history blame contribute delete
428 Bytes
#!/usr/bin/env bash
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."