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

Annotation of /trunk/modellib/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6939 - (hide annotations)
Mon Jan 20 03:37:18 2020 UTC (9 months, 1 week ago) by uqaeller
File size: 1062 byte(s)
Updated the copyright header.


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

  ViewVC Help
Powered by ViewVC 1.1.26