def build_tvtk_classes_zip(): tvtk_dir = "tvtk" sys.path.insert(0, tvtk_dir) from setup import gen_tvtk_classes_zip gen_tvtk_classes_zip() sys.path.remove(tvtk_dir)
def build_tvtk_classes_zip(): MY_DIR = os.path.dirname(__file__) sys.path.insert(0, MY_DIR) import tvtk tvtk_dir = 'tvtk' sys.path.insert(0, tvtk_dir) from setup import gen_tvtk_classes_zip gen_tvtk_classes_zip() sys.path.remove(tvtk_dir) sys.path.remove(MY_DIR)
def build_tvtk_classes_zip(): tvtk_dir = 'tvtk' sys.path.insert(0, tvtk_dir) from setup import gen_tvtk_classes_zip gen_tvtk_classes_zip() sys.path.remove(tvtk_dir)
def build_tvtk_classes_zip(): tvtk_dir = os.path.join('enthought', 'tvtk') sys.path.insert(0, tvtk_dir) from setup import gen_tvtk_classes_zip gen_tvtk_classes_zip() sys.path.remove(tvtk_dir)