deck2video-skill / install_mac_linux.sh
VanyaJ's picture
Release v4.3: DeepFactLab investigative docu presets + Complete Win/Mac/Linux py3.10-3.13 offline wheels
4f58976 verified
Raw History Blame Contribute Delete
1.46 kB
#!/usr/bin/env bash
set -euo pipefail
echo "=== Deck2Video v4.3 Zero-Egress Setup (macOS / Linux) ==="
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR"
if ! command -v ffmpeg >/dev/null 2>&1; then
echo "[!] FFmpeg not found on PATH. Ensure ffmpeg is installed locally."
fi
echo "[1/2] Creating Python virtual environment (.venv) and installing packages..."
python3 -m venv .venv
source .venv/bin/activate
if [ -d "$SCRIPT_DIR/offline_vendor/wheels" ]; then
pip install --no-index --find-links="$SCRIPT_DIR/offline_vendor/wheels" setuptools wheel
pip install --no-index --find-links="$SCRIPT_DIR/offline_vendor/wheels" -r requirements.txt
pip install --no-index --find-links="$SCRIPT_DIR/offline_vendor/wheels" --no-deps supertonic
pip install --no-index --find-links="$SCRIPT_DIR/offline_vendor/wheels" --no-build-isolation --no-deps -e .
else
pip install setuptools wheel
pip install -r requirements.txt
pip install --no-deps supertonic
pip install --no-build-isolation --no-deps -e .
fi
echo "[2/2] Generating local sample PPTX, DOCX, and HTML files..."
python3 produce_deck_video.py --generate-samples
echo ""
echo "✅ Zero-Egress Setup Complete! (100% Local Offline Default — 0 External Bytes)"
echo " source .venv/bin/activate"
echo " python3 produce_deck_video.py -i my_slides.pptx --analyze"
echo " python3 produce_deck_video.py -i my_slides.pptx --style-pack deepfact_docu -o output/my_video.mp4"