/[escript]/trunk/scripts/SConscript
ViewVC logotype

Annotation of /trunk/scripts/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1756 - (hide annotations)
Mon Sep 8 01:45:46 2008 UTC (12 years ago) by ksteube
File size: 867 byte(s)
First version of a wrapper script that sets LD_LIBRARY_PATH and PYTHONPATH

Not yet ready for general use

1 ksteube 1756 #
2     # $Id$
3     #
4     #######################################################
5     #
6     # Copyright 2003-2007 by ACceSS MNRF
7     # Copyright 2007 by University of Queensland
8     #
9     # http://esscc.uq.edu.au
10     # Primary Business: Queensland, Australia
11     # Licensed under the Open Software License version 3.0
12     # http://www.opensource.org/licenses/osl-3.0.php
13     #
14     #######################################################
15     #
16    
17     import os
18     Import('*')
19    
20     local_env = clone_env(env)
21    
22     script_dir = Dir('#.').abspath + '/scripts/'
23    
24     wrapper = local_env.Command('finleypython', 'finley_wrapper_template', [
25     '/bin/sh ' + script_dir + 'finley_wrapper_writer.sh < $SOURCE > $TARGET',
26     Chmod('$TARGET', 0755),
27     ])
28     local_env.Alias('target_finley_wrapper', wrapper)
29    
30     tmp1 = local_env.Install(local_env['bininstall'], wrapper)
31     local_env.Alias('target_install_finley_wrapper', tmp1)
32    

  ViewVC Help
Powered by ViewVC 1.1.26