/[escript]/trunk/site_scons/site_init.py
ViewVC logotype

Diff of /trunk/site_scons/site_init.py

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

revision 4322 by caltinay, Mon Mar 11 00:50:19 2013 UTC revision 4323 by jfenwick, Tue Mar 19 00:17:36 2013 UTC
# Line 21  http://www.opensource.org/licenses/osl-3 Line 21  http://www.opensource.org/licenses/osl-3
21  __url__="https://launchpad.net/escript-finley"  __url__="https://launchpad.net/escript-finley"
22    
23  import sys, os, time, py_compile, re, subprocess  import sys, os, time, py_compile, re, subprocess
24  from SCons.Defaults import Chmod  from SCons.Defaults import Chmod, Copy
25  from grouptest import *  from grouptest import *
26    
27  def findLibWithHeader(env, libs, header, paths, lang='c'):  def findLibWithHeader(env, libs, header, paths, lang='c'):
# Line 115  def generateTestScripts(env, TestGroups) Line 115  def generateTestScripts(env, TestGroups)
115      # Make sure that the escript wrapper is in place      # Make sure that the escript wrapper is in place
116      if not os.path.isfile(os.path.join(env['bininstall'], 'run-escript')):      if not os.path.isfile(os.path.join(env['bininstall'], 'run-escript')):
117          print("Copying escript wrapper.")          print("Copying escript wrapper.")
118          Execute(Copy(os.path.join(env['bininstall'],'run-escript'), 'bin/run-escript'))          env.Execute(Copy(os.path.join(env['bininstall'],'run-escript'), 'bin/run-escript'))
119    
120  # Code to build .pyc from .py  # Code to build .pyc from .py
121  def build_py(target, source, env):  def build_py(target, source, env):

Legend:
Removed from v.4322  
changed lines
  Added in v.4323

  ViewVC Help
Powered by ViewVC 1.1.26