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 |
|