curr_dir = os.path.abspath('.')
pare_dir = os.path.abspath('..')
sys.path = [os.path.join(pare_dir, 'py2exe-0.6.9', 'py2exe'), os.path.join(
    curr_dir, 'src'), os.path.join(curr_dir, 'libs', 'tornado'), os.path.
    join(curr_dir, 'libs', 'sqlalchemy'), os.path.join(curr_dir, 'libs')
    ] + sys.path
pyinstaller with a non-trivial directory structor