1 |
ksteube |
1811 |
|
2 |
jfenwick |
3982 |
############################################################################## |
3 |
ksteube |
1705 |
# |
4 |
jfenwick |
6651 |
# Copyright (c) 2013-2018 by The University of Queensland |
5 |
jfenwick |
3982 |
# http://www.uq.edu.au |
6 |
ksteube |
1705 |
# |
7 |
ksteube |
1811 |
# Primary Business: Queensland, Australia |
8 |
jfenwick |
6112 |
# Licensed under the Apache License, version 2.0 |
9 |
|
|
# http://www.apache.org/licenses/LICENSE-2.0 |
10 |
ksteube |
1705 |
# |
11 |
jfenwick |
4657 |
# Development 2012-2013 by School of Earth Sciences |
12 |
|
|
# Development from 2014 by Centre for Geoscience Computing (GeoComp) |
13 |
uqaeller |
6939 |
# Development from 2019 by School of Earth and Environmental Sciences |
14 |
jfenwick |
3982 |
# |
15 |
|
|
############################################################################## |
16 |
ksteube |
1705 |
|
17 |
jgs |
268 |
Import('*') |
18 |
|
|
|
19 |
jfenwick |
3259 |
# get the source file names |
20 |
|
|
sources = Glob('*.py') |
21 |
jgs |
268 |
|
22 |
jfenwick |
3259 |
# compile |
23 |
caltinay |
6119 |
pyc = env.PyCompile(sources) |
24 |
jgs |
268 |
|
25 |
jfenwick |
3259 |
# install |
26 |
caltinay |
6119 |
py_inst = env.Install(Dir('escript', env['pyinstall']), pyc) |
27 |
|
|
env.Alias('install_escript', [py_inst]) |