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

Last change on this file since 2709 was 2709, checked in by dkearney, 12 years ago

adding R bindings with app-fermi example.

  • Property svn:executable set to *
File size: 1.8 KB
RevLine 
[629]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
[1087]11#  Copyright (c) 2004-2008  Purdue Research Foundation
[629]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:
[2095]18exec_prefix=@INSTALL_PREFIX@
[629]19
[1583]20libdir=@libdir@
21bindir=@bindir@
[1679]22vtkdir=@VTKDIR@
23python_version=@PYTHON_VERSION@
24tcl_version=@TCL_VERSION@
[1844]25octave_version=@OCTAVE_VERSION_MAJOR@
[1583]26
[1679]27# No need to edit anything else
28PATH=${bindir}:$PATH
[1090]29
[1679]30LD_LIBRARY_PATH=${libdir}:${vtkdir}:$LD_LIBRARY_PATH
[1081]31
[1679]32# For MacOS X
33DYLD_LIBRARY_PATH=${libdir}:${vtkdir}:$DYLD_LIBRARY_PATH
[1090]34
[1679]35export PATH LD_LIBRARY_PATH DYLD_LIBRARY_PATH
[1090]36
[1583]37MATLABPATH=${libdir}/matlab:$MATLABPATH
[1989]38OCTAVE_LOADPATH=:${libdir}/octave3:$OCTAVE_LOADPATH
[1844]39OCTAVE_PATH=:${libdir}/octave${octave_version}:$OCTAVE_PATH
[1393]40
[1261]41export MATLABPATH OCTAVE_PATH OCTAVE_LOADPATH
[1101]42
[1679]43PERL5LIB=${libdir}/perl:$PERL5LIB
[1583]44PYTHONPATH=${libdir}/python${python_version}/site-packages:${PYTHONPATH}
[1679]45RUBYLIB=${libdir}/ruby:$RUBYLIB
[1090]46
[1679]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
[1722]55CLASSPATH=.:${libdir}/java:$CLASSPATH
56
[1783]57export CLASSPATH
[1722]58
[2709]59R_LIBS=${libdir}/R:$R_LIBS
60
61export R_LIBS
Note: See TracBrowser for help on using the repository browser.