1 |
|
2 |
############################################################################## |
3 |
# |
4 |
# Copyright (c) 2013-2018 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 2012-2013 by School of Earth Sciences |
12 |
# Development from 2014 by Centre for Geoscience Computing (GeoComp) |
13 |
# Development from 2019 by School of Earth and Environmental Sciences |
14 |
# |
15 |
############################################################################## |
16 |
|
17 |
Import('*') |
18 |
|
19 |
# get the source file names |
20 |
sources = Glob('*.py') |
21 |
|
22 |
# compile |
23 |
pyc = env.PyCompile(sources) |
24 |
|
25 |
# install |
26 |
py_inst = env.Install(Dir('escript', env['pyinstall']), pyc) |
27 |
env.Alias('install_escript', [py_inst]) |