#!/usr/bin/env bash
# Sigil launcher — uses only the bundled interpreter and this bundle's tree.
set -euo pipefail
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
exec env PYTHONDONTWRITEBYTECODE=1 \
  SIGIL_REPO="$HERE" \
  PYTHONPATH="$HERE/runtime:$HERE/site-packages" \
  "$HERE/python/bin/python3" -m sigilfabric "$@"
