/[ascend]/trunk/pygtk/ascend.in
ViewVC logotype

Diff of /trunk/pygtk/ascend.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2033 by jpye, Tue May 12 05:58:05 2009 UTC revision 2034 by jpye, Tue May 12 07:38:55 2009 UTC
# Line 45  else: Line 45  else:
45    
46      INSTALL_LIB="@INSTALL_LIB@"      INSTALL_LIB="@INSTALL_LIB@"
47      INSTALL_ASCDATA="@INSTALL_ASCDATA@"      INSTALL_ASCDATA="@INSTALL_ASCDATA@"
48      INSTALL_MODELS = os.path.abspath(INSTALL_ASCDATA+"/models")      INSTALL_MODELS = "@INSTALL_MODELS@"
49      INSTALL_SOLVERS = os.path.abspath(INSTALL_ASCDATA+"/solvers")      INSTALL_SOLVERS = "@INSTALL_SOLVERS@"
50      INSTALL_PYTHON = "@INSTALL_PYTHON@"      INSTALL_PYTHON = "@INSTALL_PYTHON@"
51      PYTHON="@PYTHON@"      PYTHON="@PYTHON@"
52      DEFAULT_ASCENDLIBRARY="""@DEFAULT_ASCENDLIBRARY@"""      DEFAULT_ASCENDLIBRARY="""@DEFAULT_ASCENDLIBRARY@"""
# Line 122  if os.environ.get('ASCENDSOLVERS'): Line 122  if os.environ.get('ASCENDSOLVERS'):
122    
123  print "sys.path[0] = %s" % sys.path[0]  print "sys.path[0] = %s" % sys.path[0]
124    
 if not INSTALL_ASCDATA in sys.path:  
     print "Adding INSTALL_PYTHON to python path"  
     sys.path.append(INSTALL_PYTHON)  
   
125  if not INSTALL_PYTHON in sys.path:  if not INSTALL_PYTHON in sys.path:
126      print "Adding INSTALL_PYTHON=%s to python path" % INSTALL_PYTHON      print "Adding INSTALL_PYTHON=%s to python path" % INSTALL_PYTHON
127      sys.path.append(INSTALL_PYTHON)      sys.path.append(INSTALL_PYTHON)

Legend:
Removed from v.2033  
changed lines
  Added in v.2034

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22