#! /usr/bin/env python2

import os
import sys

for p in ['/mit/seven/lib/python2.1/site-packages',
          '/mit/seven/share/']:
    if p not in sys.path: sys.path.append(p)

# Make this die immediately if these can't be found.
import Bio, Martel

from idlelib import IdleConf

idle_dir = os.path.dirname(IdleConf.__file__)
IdleConf.load(idle_dir)

# defer importing Pyshell until IdleConf is loaded
from idlelib import PyShell
PyShell.main()
