#!/usr/bin/env bash
set -euo pipefail

python -m pip install --upgrade pip setuptools wheel

# Install the repo checkout (this branch/tag) so Binder matches what you are testing.
# Dependencies come from pyproject/requirements.txt; SKA index is required for some wheels.
python -m pip install \
  --extra-index-url https://artefact.skao.int/repository/pypi-internal/simple \
  -e ".[notebook,pyfftw]"
