Salome HOME
chgt Copyrigth
[tools/eficas.git] / OldCodes / Carmel3D / configuration_CARMEL3D.py
1 # -*- coding: utf-8 -*-\r
2 # Copyright (C) 2007-2021   EDF R&D\r
3 #\r
4 # This library is free software; you can redistribute it and/or\r
5 # modify it under the terms of the GNU Lesser General Public\r
6 # License as published by the Free Software Foundation; either\r
7 # version 2.1 of the License.\r
8 #\r
9 # This library is distributed in the hope that it will be useful,\r
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of\r
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
12 # Lesser General Public License for more details.\r
13 #\r
14 # You should have received a copy of the GNU Lesser General Public\r
15 # License along with this library; if not, write to the Free Software\r
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA\r
17 #\r
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
19 #\r
20 """\r
21     Ce module sert pour charger les paramètres de configuration d'EFICAS\r
22 """\r
23 # Modules Python\r
24 import configuration\r
25 import os\r
26 \r
27 \r
28 class CONFIG(configuration.CONFIG_BASE):\r
29 \r
30   #-----------------------------------\r
31   def __init__(self,appli,repIni):\r
32   #-----------------------------------\r
33 \r
34       self.labels_user=['exec_acrobat', 'catalogues','savedir']\r
35       self.labels_eficas=['path_doc','exec_acrobat','lang','rep_cata','catalogues']\r
36 \r
37       self.INSTALLDIR =os.path.dirname(__file__)\r
38       configuration.CONFIG_BASE.__init__(self,appli,repIni)\r
39 \r
40 \r
41 def make_config(appli,rep):\r
42     return CONFIG(appli,rep)\r
43 \r