#!/usr/bin/bash -eu

export TAIHE_ROOT="$(realpath $(dirname "$0")/..)"
export PYTHONPATH="${TAIHE_ROOT}/lib/taihe/compiler:${TAIHE_ROOT}/lib/taihe/compiler/lib:${PYTHONPATH:-}"

exec python3 -m taihe "$@"
