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

Contents of /trunk/pycad/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4154 - (show annotations)
Tue Jan 22 09:30:23 2013 UTC (6 years, 8 months ago) by jfenwick
File size: 1120 byte(s)
Round 1 of copyright fixes
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('*')
17 local_env = env.Clone()
18
19 if local_env['gmsh']=='m':
20 Execute(Copy('gmshrunner.py', File('#/pycad/py_src/gmshrunner_mpi.py_')))
21 else:
22 Execute(Copy('gmshrunner.py', File('#/pycad/py_src/gmshrunner_ser.py_')))
23
24 # get the test source file names
25 sources = Glob('*.py')
26
27 # compile
28 pyc = local_env.PyCompile(sources)
29
30 # install
31 py_inst = local_env.Install(local_env['pyinstall']+'/pycad', pyc)
32 env.Alias('install_pycad_py', py_inst)
33
34 # configure python unit tests
35 local_env.SConscript(dirs = ['#/pycad/test/python'], variant_dir='$BUILD_DIR/$PLATFORM/pycad/test/python', duplicate=0)
36

  ViewVC Help
Powered by ViewVC 1.1.26