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

Contents of /trunk/escriptcore/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4508 - (show annotations)
Wed Jul 24 04:23:22 2013 UTC (6 years, 1 month ago) by jfenwick
File size: 1112 byte(s)
Moving to escriptcore
1
2 ##############################################################################
3 #
4 # Copyright (c) 2003-2013 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'],'escriptcore'), pyc)
31 sym_py_inst = local_env.Install(os.path.join(local_env['pyinstall'],'escriptcore','symbolic'), sym_pyc)
32 env.Alias('install_escriptcore_py', [runmodel_inst, py_inst, sym_py_inst])
33

  ViewVC Help
Powered by ViewVC 1.1.26