image3d-student / setup.sh
Lucasgitguy-co's picture
Release v0.1.0: local Image3D Student prototype under Apache-2.0
1738cdf verified
Raw History Blame Contribute Delete
409 Bytes
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
export UV_CACHE_DIR="$PWD/.cache/uv"
if ! command -v uv >/dev/null 2>&1; then
echo "Install uv or create a Python 3.11–3.13 virtual environment and run: python -m pip install -e '.[test]'"
exit 1
fi
uv venv --python 3.13 .venv
uv pip install --python .venv/bin/python -e '.[test]'
echo "Ready. Run: source .venv/bin/activate && image3d doctor"