#!/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

import sys
import os

hashdist_dir = os.path.realpath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '..'))
sys.path.insert(0, hashdist_dir)

from hashdist.hdist_logging import Logger
from hashdist.cli.main import main, help_on_exceptions

logger = Logger()
sys.exit(help_on_exceptions(logger, main, sys.argv, os.environ, logger))
