z-image-studio / setup.sh
techfreakworm's picture
chore: project scaffolding (pyproject, requirements, license, claude.md, tests)
322b245 unverified
raw
history blame contribute delete
295 Bytes
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
if [ ! -d .venv ]; then
python3.11 -m venv .venv
fi
# shellcheck source=/dev/null
source .venv/bin/activate
python -m pip install -U pip
python -m pip install -r requirements.txt
echo "Done. Activate with: source .venv/bin/activate"