13 |
# |
# |
14 |
############################################################################## |
############################################################################## |
15 |
|
|
|
import os |
|
16 |
Import('*') |
Import('*') |
|
local_env = env.Clone() |
|
17 |
|
|
18 |
# get the source file names |
# get the source file names |
19 |
sources = Glob('*.py') |
sources = Glob('*.py') |
20 |
|
|
21 |
# compile |
# compile |
22 |
pyc = local_env.PyCompile(sources) |
pyc = env.PyCompile(sources) |
23 |
|
|
24 |
# install |
# install |
25 |
py_inst = local_env.Install(os.path.join(local_env['pyinstall'],'escript'), pyc) |
py_inst = env.Install(Dir('escript', env['pyinstall']), pyc) |
26 |
env.Alias('install_escript_py', [py_inst]) |
env.Alias('install_escript', [py_inst]) |