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

Last change on this file since 3372 was 3330, checked in by gah, 12 years ago

merge (by hand) with Rappture1.2 branch

  • Property svn:executable set to *
File size: 1.7 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-2012  HUBzero Foundation, LLC
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=@INSTALL_PREFIX@
19
20libdir=@libdir@
21bindir=@bindir@
22vtkdir=@VTKDIR@
23python_version=@PYTHON_VERSION@
24tcl_version=@TCL_VERSION@
25octave_version=@OCTAVE_VERSION_MAJOR@
26
27# No need to edit anything else
28PATH=${bindir}:$PATH
29
30LD_LIBRARY_PATH=${libdir}:$LD_LIBRARY_PATH
31
32# For MacOS X
33DYLD_LIBRARY_PATH=${libdir}:$DYLD_LIBRARY_PATH
34
35export PATH LD_LIBRARY_PATH DYLD_LIBRARY_PATH
36
37MATLABPATH=${libdir}/matlab:$MATLABPATH
38OCTAVE_LOADPATH=:${libdir}/octave3:$OCTAVE_LOADPATH
39OCTAVE_PATH=:${libdir}/octave${octave_version}:$OCTAVE_PATH
40
41export MATLABPATH OCTAVE_PATH OCTAVE_LOADPATH
42
43PERL5LIB=${libdir}/perl:$PERL5LIB
44PYTHONPATH=${libdir}/python${python_version}/site-packages:${PYTHONPATH}
45RUBYLIB=${libdir}/ruby:$RUBYLIB
46
47export PERL5LIB RUBYLIB PYTHONPATH
48
49TCLLIBPATH="${vtkdir} $TCLLIBPATH"
50TCL_LIBRARY=${libdir}/tcl${tcl_version}:$TCL_LIBRARY
51TK_LIBRARY=${libdir}/tk${tcl_version}:$TK_LIBRARY
52
53export TCL_LIBRARY TK_LIBRARY TCLLIBPATH
54
55CLASSPATH=.:${libdir}/java:$CLASSPATH
56
57export CLASSPATH
58
59R_LIBS=${libdir}/R:$R_LIBS
60
61export R_LIBS
Note: See TracBrowser for help on using the repository browser.