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

Annotation of /trunk/pyvisi/py_src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (hide annotations)
Mon Nov 15 05:09:56 2010 UTC (10 years, 5 months ago) by caltinay
File size: 798 byte(s)
escript now supports out-of-tree builds.
All build and test files are now created under a user-definable build_dir
directory.
This also fixes issue 291.
Removed most svn:ignore props since they are no longer required.

1 ksteube 1811
2     ########################################################
3 ksteube 1705 #
4 jfenwick 2881 # Copyright (c) 2003-2010 by University of Queensland
5 ksteube 1811 # Earth Systems Science Computational Center (ESSCC)
6     # http://www.uq.edu.au/esscc
7 ksteube 1705 #
8 ksteube 1811 # 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 ksteube 1705 #
12 ksteube 1811 ########################################################
13 ksteube 1705
14 ksteube 1147 Import('*')
15 jfenwick 3259 local_env = env.Clone()
16 ksteube 1147
17 jfenwick 3259 # get the source file names
18     sources = Glob('*.py')
19 ksteube 1147
20 jfenwick 3259 # compile
21     pyc = local_env.PyCompile(sources)
22 ksteube 1147
23 jfenwick 3259 # install
24     py_inst = local_env.Install(local_env['pyinstall']+'/pyvisi', pyc)
25     env.Alias('install_pyvisi_py', py_inst)
26 ksteube 1147
27 jfenwick 3259 # configure tests
28 caltinay 3349 local_env.SConscript(dirs = ['#/pyvisi/test/python'], variant_dir='$BUILD_DIR/$PLATFORM/pyvisi/test/python', duplicate=0)
29 ksteube 1147

  ViewVC Help
Powered by ViewVC 1.1.26