1 |
|
2 |
############################################################################## |
3 |
# |
4 |
# Copyright (c) 2003-2017 by The University of Queensland |
5 |
# http://www.uq.edu.au |
6 |
# |
7 |
# Primary Business: Queensland, Australia |
8 |
# Licensed under the Apache License, version 2.0 |
9 |
# http://www.apache.org/licenses/LICENSE-2.0 |
10 |
# |
11 |
# Development until 2012 by Earth Systems Science Computational Center (ESSCC) |
12 |
# Development 2012-2013 by School of Earth Sciences |
13 |
# Development from 2014 by Centre for Geoscience Computing (GeoComp) |
14 |
# |
15 |
############################################################################## |
16 |
|
17 |
Import('*') |
18 |
local_env = env.Clone() |
19 |
|
20 |
# get the source file names |
21 |
sources = Glob('*.py') |
22 |
|
23 |
# compile |
24 |
pyc = local_env.PyCompile(sources) |
25 |
|
26 |
# install |
27 |
py_inst = local_env.Install(Dir('finley', local_env['pyinstall']), pyc) |
28 |
env.Alias('install_finley', py_inst) |
29 |
|