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

Contents of /trunk/escript/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3975 - (show annotations)
Thu Sep 20 01:54:06 2012 UTC (7 years, 1 month ago) by caltinay
File size: 981 byte(s)
Merged symbolic branch into trunk. Curious what daniel and spartacus have to
say...

1
2 ########################################################
3 #
4 # Copyright (c) 2003-2012 by University of Queensland
5 # Earth Systems Science Computational Center (ESSCC)
6 # http://www.uq.edu.au/esscc
7 #
8 # Primary Business: Queensland, Australia
9 # Licensed under the Open Software License version 3.0
10 # http://www.opensource.org/licenses/osl-3.0.php
11 #
12 ########################################################
13
14 import os
15 Import('*')
16 local_env = env.Clone()
17
18 # get the source file names
19 sources = Glob('*.py')
20 sym_sources = Glob(os.path.join('symbolic','*.py'))
21
22 # compile
23 pyc = local_env.PyCompile(sources)
24 sym_pyc = local_env.PyCompile(sym_sources)
25
26 # install
27 runmodel_inst = local_env.Install(local_env['bininstall'], 'runmodel.py')
28 py_inst = local_env.Install(os.path.join(local_env['pyinstall'],'escript'), pyc)
29 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

  ViewVC Help
Powered by ViewVC 1.1.26