#! /usr/bin/python # Copyright (c) 2002, 2003 by Intevation GmbH # Authors: # Jan-Oliver Wagner # # This program is free software under the GPL (>=v2) # Read the file COPYING coming with Thuban for details. # Add directories with greater specific code and some selected 3rd party # Python extensions to the path import sys, os _dir = os.path.join(sys.path[0], os.pardir) for reldir in ("Python", "GREAT-ER-DB", "GREAT-ERModel", "sciparam", "Lib", os.path.join("GREAT-ERModel", "Lib")): fullname = os.path.join(_dir, reldir) if os.path.isdir(fullname): sys.path.append(fullname) # Initialize python for thuban. import thubaninit # Start the GREAT-ER client. import Greater Greater.main()