~vcs-imports/escript-finley/trunk

« back to all changes in this revision

Viewing changes to dudley/py_src/SConscript

  • Committer: jfenwick
  • Date: 2010-10-11 01:48:14 UTC
  • Revision ID: svn-v4:77569008-7704-0410-b7a0-a92fef0b09fd:trunk:3259
Merging dudley and scons updates from branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
########################################################
 
3
#
 
4
# Copyright (c) 2003-2010 by University of Queensland
 
5
# Earth Systems Science Computational Center (ESSCC)
 
6
# http://www.uq.edu.au/esscc
 
7
#
 
8
# Primary Business: Queensland, Australia
 
9
# Licensed under the Open Software License version 3.0
 
10
# http://www.opensource.org/licenses/osl-3.0.php
 
11
#
 
12
########################################################
 
13
 
 
14
 
 
15
import os
 
16
Import('*')
 
17
 
 
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(local_env['pyinstall']+'/dudley', pyc)
 
28
env.Alias('install_dudley_py', py_inst)
 
29