/[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 3579 by caltinay, Tue Nov 23 01:56:20 2010 UTC revision 3580 by gross, Tue Sep 6 00:31:35 2011 UTC
# Line 69  def findLibWithHeader(env, libs, header, Line 69  def findLibWithHeader(env, libs, header,
69      conf.Finish()      conf.Finish()
70      return inc_path, lib_path      return inc_path, lib_path
71    
72    
73  # Code to build .pyc from .py  # Code to build .pyc from .py
74  def build_py(target, source, env):  def build_py(target, source, env):
75      py_compile.compile(str(source[0]), str(target[0]))      try:
76      return 0         py_compile.compile(str(source[0]), str(target[0]), doraise=True)
77           return 0
78        except py_compile.PyCompileError as e:
79           print e
80           return 1
81          
82    
83  # Code to run unit_test executables  # Code to run unit_test executables
84  def runUnitTest(target, source, env):  def runUnitTest(target, source, env):

Legend:
Removed from v.3579  
changed lines
  Added in v.3580

  ViewVC Help
Powered by ViewVC 1.1.26