/[escript]/trunk/dudley/py_src/SConscript
ViewVC logotype

Diff of /trunk/dudley/py_src/SConscript

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

revision 3080 by jfenwick, Tue Aug 3 04:28:03 2010 UTC revision 3253 by caltinay, Thu Oct 7 05:34:33 2010 UTC
# Line 15  Line 15 
15  import os  import os
16  Import('*')  Import('*')
17    
18  local_env = clone_env(env)  local_env = env.Clone()
19    
20  src_dir = local_env.Dir('.').srcnode().abspath  # get the source file names
21    sources = Glob('*.py')
22    
23  filenames = os.listdir(src_dir)  # compile
24  python_src = [x for x in filenames if os.path.splitext(x)[1] in ['.py']]  pyc = local_env.PyCompile(sources)
25    
26  pyc = local_env.PyCompile(python_src)  # install
27    py_inst = local_env.Install(local_env['pyinstall']+'/dudley', pyc)
28  local_env.Depends(pyc, dep_lib)  env.Alias('install_dudley_py', py_inst)
   
 tmp1 = local_env.Install(local_env['pyinstall']+'/finley', pyc)  
 env.Alias('target_install_finley_py', [tmp1])  
29    

Legend:
Removed from v.3080  
changed lines
  Added in v.3253

  ViewVC Help
Powered by ViewVC 1.1.26