/[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 2015 by jpye, Mon Sep 3 14:05:44 2007 UTC revision 2016 by jpye, Tue Apr 28 09:30:57 2009 UTC
# Line 42  else: Line 42  else:
42      INSTALL_ASCDATA="@INSTALL_ASCDATA@"      INSTALL_ASCDATA="@INSTALL_ASCDATA@"
43      INSTALL_MODELS = os.path.abspath(INSTALL_ASCDATA+"/models")      INSTALL_MODELS = os.path.abspath(INSTALL_ASCDATA+"/models")
44      INSTALL_SOLVERS = os.path.abspath(INSTALL_ASCDATA+"/solvers")      INSTALL_SOLVERS = os.path.abspath(INSTALL_ASCDATA+"/solvers")
45        INSTALL_PYTHON = "@INSTALL_PYTHON@"
46      PYTHON="@PYTHON@"      PYTHON="@PYTHON@"
47      DEFAULT_ASCENDLIBRARY="""@DEFAULT_ASCENDLIBRARY@"""      DEFAULT_ASCENDLIBRARY="""@DEFAULT_ASCENDLIBRARY@"""
48      SEP=":"      SEP=":"
# Line 117  if os.environ.get('ASCENDSOLVERS'): Line 118  if os.environ.get('ASCENDSOLVERS'):
118  print "sys.path[0] = %s" % sys.path[0]  print "sys.path[0] = %s" % sys.path[0]
119    
120  if not INSTALL_ASCDATA in sys.path:  if not INSTALL_ASCDATA in sys.path:
121      print "Adding INSTALL_ASCDATA to python path?"      print "Adding INSTALL_ASCDATA to python pathh"
122      sys.path.append(INSTALL_ASCDATA)      sys.path.append(INSTALL_ASCDATA)
123    
124    if not INSTALL_PYTHON in sys.path:
125        print "Adding INSTALL_PYTHON=%s to python path" % INSTALL_PYTHON
126        sys.path.append(INSTALL_PYTHON)
127    
128  if os.environ.get('OSTYPE')=='cygwin':  if os.environ.get('OSTYPE')=='cygwin':
129      print "CYGWIN..."      print "CYGWIN..."
130  elif os.environ.get('OSTYPE')=='msys':  elif os.environ.get('OSTYPE')=='msys':

Legend:
Removed from v.2015  
changed lines
  Added in v.2016

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