1 |
# Scons configuration file for modellib |
2 |
|
3 |
# Copyright 2006 by ACcESS MNRF |
4 |
# |
5 |
# http://www.access.edu.au |
6 |
# Primary Business: Queensland, Australia |
7 |
# Licensed under the Open Software License version 3.0 |
8 |
# http://www.opensource.org/licenses/osl-3.0.php |
9 |
# |
10 |
# |
11 |
# |
12 |
# set appropriate configuration variable defaults |
13 |
esysroot=str(Dir('./..').abspath) |
14 |
execfile(str(File(esysroot+"/scons/esys_options.py"))) |
15 |
|
16 |
pydir = Dir(str(esysroot) + '/modellib/lib/py_src') |
17 |
Export(["pydir"]) |
18 |
pydir2 = Dir(str(esysroot) + '/esys/modellib') |
19 |
Export(["pydir2"]) |
20 |
if pyinstall != None: |
21 |
pyinstall = Dir(str(pyinstall) + '/modellib') |
22 |
Export(["pyinstall"]) |
23 |
|
24 |
# |
25 |
# print out build configuration for this module |
26 |
|
27 |
print "Build configuration for module: modellib" |
28 |
|
29 |
# |
30 |
# call the SConscript to do the actual build |
31 |
|
32 |
SConscript(dirs=['py_src'], build_dir='obj/py_src', duplicate=0) |