/[escript]/branches/domexper/finley/py_src/SConscript
ViewVC logotype

Diff of /branches/domexper/finley/py_src/SConscript

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

revision 3250 by jfenwick, Mon Oct 4 01:46:30 2010 UTC revision 3251 by jfenwick, Thu Oct 7 04:02:30 2010 UTC
# Line 11  Line 11 
11  #  #
12  ########################################################  ########################################################
13    
   
 import os  
14  Import('*')  Import('*')
15    local_env = env.Clone()
16    
17  local_env = clone_env(env)  # get the source file names
18    sources = Glob('*.py')
 src_dir = local_env.Dir('.').srcnode().abspath  
   
 filenames = os.listdir(src_dir)  
 python_src = [x for x in filenames if os.path.splitext(x)[1] in ['.py']]  
   
 pyc = local_env.PyCompile(python_src)  
19    
20  local_env.Depends(pyc, dep_lib)  # compile
21    pyc = local_env.PyCompile(sources)
22    
23  tmp1 = local_env.Install(local_env['pyinstall']+'/finley', pyc)  # install
24  env.Alias('target_install_finley_py', [tmp1])  py_inst = local_env.Install(local_env['pyinstall']+'/finley', pyc)
25    env.Alias('install_finley_py', py_inst)
26    

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

  ViewVC Help
Powered by ViewVC 1.1.26