.PHONY: help install run clean create-archives extract-data precompute-cache archive-info help: ## Show this help message @echo "Usage: make [target]" @echo "" @echo "Available targets:" @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-15s\033[0m %s\n", $$1, $$2}' install: ## Install dependencies with uv uv sync run: ## Run the Gradio app locally uv run python app.py clean: ## Clean up temporary files and caches rm -rf .venv uv.lock find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true find . -type f -name "*.pyc" -delete find . -type f -name "*.pyo" -delete create-archives: ## Create compressed archives from catalog and cache uv run python scripts/create_archives.py extract-data: ## Extract archives (done automatically on first run) uv run python -c "from snowleopard_reid.data_setup import ensure_data_extracted; ensure_data_extracted()" precompute-cache: ## Run pipeline on all examples to generate cache uv run python scripts/precompute_cache.py archive-info: ## Show info about archives and directories uv run python scripts/create_archives.py --info