# CCS CS Lab Initialize # # Douglas Thrift # # $Id$ import os.path import sys try: sys.path.remove(os.path.abspath(os.path.dirname(__file__))) except ValueError: pass path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) if path not in sys.path: sys.path.insert(0, path) path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'lib')) if path not in sys.path: sys.path.insert(0, path) del path