]> SALOME platform Git repositories - tools/simanio.git/blob - scripts/syrthes_env_products.sh
Salome HOME
6ce6c897817e2ece40779f37b0afe863281e52ef
[tools/simanio.git] / scripts / syrthes_env_products.sh
1 #!/bin/bash -noprofile
2
3 # Copyright (C) 2013-2014  CEA/DEN, EDF R&D, OPEN CASCADE
4 #
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License, or (at your option) any later version.
9 #
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18 #
19 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #
21
22 if [ -z "${SALOME_ROOT_DIR}" ]; then
23     echo "You need to set the environment variable SALOME_ROOT_DIR"
24     exit 1
25 fi
26
27 #------ CODE_SYRTHES (TOOL) ------
28 syrthesprofile=${SALOME_ROOT_DIR}/CODE_SYRTHES_SRC/arch/Linux_x86_64/bin/syrthes.profile
29 if [ -f $syrthesprofile ] ; then
30   . $syrthesprofile
31 fi
32
33 export CODE_SYRTHES_ROOT=${SALOME_ROOT_DIR}/CODE_SYRTHES
34 export PYTHONPATH=${CODE_SYRTHES_ROOT}:${PYTHONPATH}
35
36
37 #------ MODULE_SYRTHES ------
38 export SYRTHES_ROOT_DIR=${SALOME_ROOT_DIR}/MODULE_SYRTHES