/[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 3082 by jfenwick, Tue Aug 3 06:04:05 2010 UTC revision 3251 by jfenwick, Thu Oct 7 04:02:30 2010 UTC
# Line 15  Line 15 
15  import os  import os
16  Import('*')  Import('*')
17    
18  local_env = clone_env(env)  local_env = env_mpi.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']+'/dudley', pyc)  
 env.Alias('target_install_dudley_py', [tmp1])  
29    

Legend:
Removed from v.3082  
changed lines
  Added in v.3251

  ViewVC Help
Powered by ViewVC 1.1.26