/[escript]/release/5.2/modellib/py_src/SConscript
ViewVC logotype

Contents of /release/5.2/modellib/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6692 - (show annotations)
Mon Jun 25 02:31:06 2018 UTC (2 years, 11 months ago) by jfenwick
File size: 992 byte(s)
Fix

1
2 ##############################################################################
3 #
4 # Copyright (c) 2003-2018 by The University of Queensland
5 # http://www.uq.edu.au
6 #
7 # Primary Business: Queensland, Australia
8 # Licensed under the Apache License, version 2.0
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 # Development 2012-2013 by School of Earth Sciences
13 # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 #
15 ##############################################################################
16
17 Import('*')
18 local_env = env.Clone()
19
20 # get the source file names
21 sources = Glob('*.py')
22
23 # compile
24 pyc = local_env.PyCompile(sources)
25
26 # install
27 py_inst = local_env.Install(local_env['pyinstall']+'/modellib', pyc)
28 env.Alias('install_modellib_py', py_inst)
29
30 # configure unit tests
31 local_env.SConscript(dirs = ['#/modellib/test/python'], variant_dir='$BUILD_DIR/$PLATFORM/modellib/test/python', duplicate=0)
32

  ViewVC Help
Powered by ViewVC 1.1.26