/[escript]/trunk/modellib/SConstruct
ViewVC logotype

Diff of /trunk/modellib/SConstruct

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

revision 268 by jgs, Wed Nov 30 01:39:47 2005 UTC revision 325 by jgs, Wed Dec 7 02:08:17 2005 UTC
# Line 26  Import('*') Line 26  Import('*')
26    
27  if ARGUMENTS.get('pyinstall',0):  if ARGUMENTS.get('pyinstall',0):
28    pyinstall = ARGUMENTS.get('pyinstall',0)    pyinstall = ARGUMENTS.get('pyinstall',0)
 else:  
   pyinstall = Dir(str(esysroot) + '/esys/modellib')  
29  Export(["pyinstall"])  Export(["pyinstall"])
30    
31  #  #
# Line 39  platform = env['PLATFORM'] Line 37  platform = env['PLATFORM']
37  #  #
38  # determine hostname  # determine hostname
39    
40  hostname = os.environ['HOSTNAME']  import socket
41    hostname = socket.gethostname()
42    
43  #  #
44  # export esysroot  # export esysroot
# Line 51  Export(["esysroot"]) Line 50  Export(["esysroot"])
50    
51  pydir = Dir(str(esysroot) + '/modellib/lib/py_src')  pydir = Dir(str(esysroot) + '/modellib/lib/py_src')
52  Export(["pydir"])  Export(["pydir"])
53    pydir2 = Dir(str(esysroot) + '/esys/modellib')
54    Export(["pydir2"])
55    
56  #  #
57  # print out build configuration for this module  # print out build configuration for this module
58    
 print "############################################"  
59  print "Build configuration for module: modellib"  print "Build configuration for module: modellib"
60  print "        platform: ", platform  print "        platform: ", platform
61  print "        hostname: ", hostname  print "        hostname: ", hostname
62  print "       pyinstall: ", pyinstall  print "       pyinstall: ", pyinstall
 print "############################################"  
63    
64  #  #
65  # call the SConscript to do the actual build  # call the SConscript to do the actual build

Legend:
Removed from v.268  
changed lines
  Added in v.325

  ViewVC Help
Powered by ViewVC 1.1.26