#!/bin/bash

#
#  Keen Importer - entrypoint script
#

# resolve us an interpreter
if [ -x ./python ]; then
	IMPORTER_PYTHON=./python
else
	IMPORTER_PYTHON=$(which python)
fi

# run importer! :)
$IMPORTER_PYTHON `python -c 'import os, importer; print os.path.dirname(importer.__file__)'` $*
