#!/bin/sh
# The fixture's launcher. `--no-project` keeps uv from inventing a virtual
# environment beside the fixture, and the system python is the interpreter
# that the standard-library-only plugin expects.
set -eu
python=$(command -v python3)
if [ -n "${UV_BIN:-}" ] && [ -x "$UV_BIN" ]; then
    uv=$UV_BIN
else
    uv=uv
fi
exec "$uv" run --no-project --python "$python" "$(dirname "$0")/plugin.py" "$@"
