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

Contents of /trunk/downunder/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3947 - (show annotations)
Wed Aug 22 23:19:10 2012 UTC (8 years, 6 months ago) by caltinay
File size: 815 byte(s)
Compiling and installing downunder module now. Adjusted import statements
accordingly. Added a gravity test run.

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('*')
15 local_env = env.Clone()
16
17 # get the source file names
18 sources = Glob('*.py')
19
20 # compile
21 pyc = local_env.PyCompile(sources)
22
23 # install
24 py_inst = local_env.Install(local_env['pyinstall']+'/downunder', pyc)
25 env.Alias('install_downunder_py', py_inst)
26
27 # configure unit tests
28 local_env.SConscript(dirs = ['#/downunder/test/python'], variant_dir='$BUILD_DIR/$PLATFORM/downunder/test/python', duplicate=0)
29

  ViewVC Help
Powered by ViewVC 1.1.26