Salome HOME
Update copyright information
[plugins/blsurfplugin.git] / env_blsurf.sh
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D
2 #
3 #  This library is free software; you can redistribute it and/or
4 #  modify it under the terms of the GNU Lesser General Public
5 #  License as published by the Free Software Foundation; either
6 #  version 2.1 of the License.
7 #
8 #  This library is distributed in the hope that it will be useful,
9 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
10 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 #  Lesser General Public License for more details.
12 #
13 #  You should have received a copy of the GNU Lesser General Public
14 #  License along with this library; if not, write to the Free Software
15 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19 #------ Licence Distene ------
20 #
21 export DISTENE_LICENSE_FILE=${INSTALL_ROOT}/dlim8.key
22 ##
23 #------ BLSURF ------
24 export BLSURFHOME=${INSTALL_ROOT/BLSurf
25 ##
26 #------ BLSURFplugin-Src ------
27 export BLSURFPLUGIN_SRC_DIR=${INSTALL_ROOT}/BLSURFPLUGIN_SRC_3.2.4
28 ##
29 #------ BLSURFplugin-Bin ------
30 export BLSURFPLUGIN_ROOT_DIR=${INSTALL_ROOT}/BLSURFPLUGIN_INSTALL
31 if [ -n "${ENV_FOR_LAUNCH}" ] ; then
32   if [ "${ENV_FOR_LAUNCH}" == "1" ] ; then
33     exportp LD_LIBRARY_PATH ${BLSURFPLUGIN_ROOT_DIR}/lib/salome:${BLSURFHOME}/lib
34     exportp PYTHONPATH ${BLSURFPLUGIN_ROOT_DIR}/lib64/salome:${BLSURFPLUGIN_ROOT_DIR}/lib64/python${PYTHON_VERSION}/site-packages/salome
35   fi
36 fi
37 ##