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

Contents of /trunk/escript/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3982 - (show annotations)
Fri Sep 21 03:23:22 2012 UTC (7 years ago) by jfenwick
File size: 1100 byte(s)
More edits + removing pyvisi from trunk

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

  ViewVC Help
Powered by ViewVC 1.1.26