# Append to effective python path so that can find plplot modules. import sys invocation_path = sys.path[0] sys.path.insert (0, "/lib/python2.3/site-packages") # The following is useful for build tree only! # The version with the leading / is required for script execution. # (Is this a python bug?). # The version without the leading / is required for interactive use # from within python. sys.path.insert (0, invocation_path + "/../../bindings/python") sys.path.insert (0, invocation_path + "/../..//bindings/python") sys.path.insert (0, invocation_path + "/../..//bindings/python/.libs") sys.path.insert (0, invocation_path + "../../bindings/python") sys.path.insert (0, invocation_path + "../..//bindings/python") sys.path.insert (0, invocation_path + "../..//bindings/python/.libs")