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

Diff of /trunk/escript/py_src/SConscript

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

revision 3974 by jfenwick, Thu Jun 14 01:01:03 2012 UTC revision 3975 by caltinay, Thu Sep 20 01:54:06 2012 UTC
# Line 11  Line 11 
11  #  #
12  ########################################################  ########################################################
13    
14    import os
15  Import('*')  Import('*')
16  local_env = env.Clone()  local_env = env.Clone()
17    
18  # get the source file names  # get the source file names
19  sources = Glob('*.py')  sources = Glob('*.py')
20    sym_sources = Glob(os.path.join('symbolic','*.py'))
21    
22  # compile  # compile
23  pyc = local_env.PyCompile(sources)  pyc = local_env.PyCompile(sources)
24    sym_pyc = local_env.PyCompile(sym_sources)
25    
26  # install  # install
27  runmodel_inst = local_env.Install(local_env['bininstall'], 'runmodel.py')  runmodel_inst = local_env.Install(local_env['bininstall'], 'runmodel.py')
28  py_inst = local_env.Install(local_env['pyinstall']+'/escript', pyc)  py_inst = local_env.Install(os.path.join(local_env['pyinstall'],'escript'), pyc)
29  env.Alias('install_escript_py', [runmodel_inst, py_inst])  sym_py_inst = local_env.Install(os.path.join(local_env['pyinstall'],'escript','symbolic'), sym_pyc)
30    env.Alias('install_escript_py', [runmodel_inst, py_inst, sym_py_inst])
31    

Legend:
Removed from v.3974  
changed lines
  Added in v.3975

  ViewVC Help
Powered by ViewVC 1.1.26