Spaces:
Sleeping
Sleeping
| set -e | |
| # --- Install uv --- | |
| # Ensure pip is up-to-date in the isolated build environment | |
| python -m pip install --upgrade pip | |
| # Install uv (it's best to install it globally for the builder, or into a temporary path) | |
| # A simple pip install works well in the build environment | |
| pip install uv | |
| uv venv | |
| source .venv/bin/activate | |
| echo "Installing dependencies with uv..." | |
| uv sync --no-dev | |
| echo "Dependency installation complete." | |