#!/bin/bash # This is a wrapper for python, to launch python with the proper PYTHONHOME set # to make it relocatable. BASEDIR="$(cd "$(dirname "$0")" && pwd)" export PYTHONHOME="${BASEDIR}/../Frameworks" exec ${BASEDIR}/@PYTHON_EXECUTABLE@ "$@"