source: trunk/gui/apps/rappture.env.in @ 1583

Last change on this file since 1583 was 1583, checked in by gah, 15 years ago

remove use of python.env file

  • Property svn:executable set to *
File size: 1.6 KB
Line 
1#!/bin/sh
2# ----------------------------------------------------------------------
3#  RAPPTURE ENVIRONMENT
4#
5#  This is the main script that most people use to invoke the
6#  Rappture GUI.  It sets environment variables so that the Rappture
7#  GUI driver will work properly for the current installation.
8#
9# ======================================================================
10#  AUTHOR:  Michael McLennan, Purdue University
11#  Copyright (c) 2004-2008  Purdue Research Foundation
12#
13#  See the file "license.terms" for information on usage and
14#  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
15# ======================================================================
16#
17# If you install Rappture elsewhere, edit the line below:
18exec_prefix=@prefix@
19
20libdir=@libdir@
21bindir=@bindir@
22
23# no need to edit the rest...
24export PATH=${bindir}:$PATH
25
26export TCLLIBPATH="${libdir}/vtk $TCLLIBPATH"
27
28vtk_library_path=${libdir}/vtk-5.2:${libdir}/vtk
29
30export LD_LIBRARY_PATH=${libdir}:$vtk_library_path:$LD_LIBRARY_PATH
31
32export DYLD_LIBRARY_PATH=${libdir}:${libdir}/vtk:$DYLD_LIBRARY_PATH
33
34MATLABPATH=${libdir}/matlab:$MATLABPATH
35OCTAVE_PATH=:${libdir}/octave:$OCTAVE_PATH
36OCTAVE_LOADPATH=:${libdir}/octave:$OCTAVE_LOADPATH
37PERL5LIB=${libdir}/perl:$PERL5LIB
38RUBYLIB=${libdir}/ruby:$RUBYLIB
39TCL_LIBRARY=${libdir}/tcl8.4:$TCL_LIBRARY
40TK_LIBRARY=${libdir}/tk8.4:$TK_LIBRARY
41
42export MATLABPATH OCTAVE_PATH OCTAVE_LOADPATH
43export PERL5LIB RUBYLIB TCL_LIBRARY TK_LIBRARY PYTHONPATH
44
45# This is done specifically for python right now.
46python_version="@PYTHON_VERSION@"
47PYTHONPATH=${libdir}/python${python_version}/site-packages:${PYTHONPATH}
48
Note: See TracBrowser for help on using the repository browser.