#!/usr/bin/env python __revision__ = "$Rev: 139 $" __date__ = "$Date: 2005-03-14 19:28:22 -0500 (Mon, 14 Mar 2005) $" __author__ = "Ryan Tomayko (rtomayko@gmail.com)" __copyright__ = "Copyright 2004-2005, Ryan Tomayko" __license__ = "MIT " try: from kid.compile import main except ImportError: from os.path import join as joinpath, dirname, abspath import sys import os # adjust sys.path if we're running directly within a source distribution bin_dir = dirname(__file__) lib_dir = abspath(joinpath(bin_dir, '..')) if os.access(joinpath(lib_dir, 'kid', '__init__.py'), os.F_OK): sys.path.insert(0, lib_dir) from kid.compile import main main()