#!/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

export PYTHONPATH=${PYTHONPATH}:${DIR}/../src

# We allow people to specify whether they want to run Sextant under Python 2
# or 3, by setting the environment variable SEXTANT_PYTHON to the Python they
# want to use.
export SEXTANT_PYTHON=${SEXTANT_PYTHON:=python}

$SEXTANT_PYTHON -m sextant $@
