# -*- coding: utf-8 -*-\r
-# CONFIGURATION MANAGEMENT OF EDF VERSION\r
-# ======================================================================\r
-# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG\r
-# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY\r
-# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY\r
-# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR\r
-# (AT YOUR OPTION) ANY LATER VERSION.\r
+# Copyright (C) 2007-2013 EDF R&D\r
#\r
-# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT\r
-# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF\r
-# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU\r
-# GENERAL PUBLIC LICENSE FOR MORE DETAILS.\r
+# This library is free software; you can redistribute it and/or\r
+# modify it under the terms of the GNU Lesser General Public\r
+# License as published by the Free Software Foundation; either\r
+# version 2.1 of the License.\r
#\r
-# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE\r
-# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,\r
-# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.\r
+# This library is distributed in the hope that it will be useful,\r
+# but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
+# Lesser General Public License for more details.\r
#\r
+# You should have received a copy of the GNU Lesser General Public\r
+# License along with this library; if not, write to the Free Software\r
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
+#\r
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
#\r
-# ======================================================================\r
\r
import os, sys\r
# Les variables pouvant positionnees sont :\r
-print "import des prefs de MAP"\r
+#print "import des prefs de MAP"\r
\r
-# REPINI sert à localiser le fichier \r
+# repIni sert a localiser le fichier \r
# initialdir sert comme directory initial des QFileDialog\r
# positionnee a repin au debut mise a jour dans configuration\r
-REPINI=os.path.dirname(os.path.abspath(__file__))\r
-initialdir=REPINI \r
-\r
-# INSTALLDIR sert à localiser l'installation d'Eficas\r
-INSTALLDIR=os.path.join(REPINI,'..')\r
-PATH_MAP="/local/noyret/MAP/"\r
-PATH_PYGMEE=PATH_MAP+"/components/pygmee_v1"\r
-PATH_BENHUR=PATH_MAP+"/components/benhur"\r
-PATH_FDVGRID=PATH_MAP+"components/fdvgrid/ther2d/bin"\r
-PATH_MODULE=PATH_MAP+"/modules/polymers"\r
-PATH_STUDY=PATH_MAP+"/studies/demonstrateur_poly_st1"\r
-PATH_ASTER="/local/noyret/bin/Aster10/bin"\r
-PATH_GMSH="/usr/bin"\r
+repIni=os.path.dirname(os.path.abspath(__file__))\r
+INSTALLDIR=os.path.join(repIni,'..')\r
\r
\r
# Codage des strings qui accepte les accents (en remplacement de 'ascii')\r
-# lang indique la langue utilisée pour les chaines d'aide : fr ou ang\r
+# lang indique la langue utilisee pour les chaines d'aide : fr ou ang\r
lang='fr'\r
encoding='iso-8859-1'\r
\r
# Acces a la documentation\r
-rep_cata = INSTALLDIR\r
-path_doc = os.path.join(REPINI,'Doc')\r
+path_doc = os.path.join(repIni,'Doc')\r
exec_acrobat = "/usr/bin/xpdf"\r
savedir = os.environ['HOME']\r
+affiche = "groupe"\r
+\r
+rep_cata=os.path.dirname(os.path.abspath(__file__))\r
+ \r
+catalogues=(\r
+# ('MAP','Solver',os.path.join(rep_cata,'cata_solver1.py'),'solver1'),\r
+# ('MAP','Test',os.path.join(rep_cata,'cata_s_test03.py'),'s_test03'),\r
+# ('MAP','Exemple python',os.path.join(rep_cata,'cata_c_transverse_empty_python.py'),'c_transverse_empty_python'),\r
+# ('MAP','Image 3D',os.path.join(rep_cata,'cata_c_image_3d_altitude_thickness.py'),'c_image_3d_altitude_thickness'),\r
+# ('MAP','Table FFT',os.path.join(rep_cata,'cata_c_post_table_fft.py'), 'c_post_table_fft'),\r
+# ('MAP','PRE Mesh',os.path.join(rep_cata,'cata_c_pre_interface_mesh.py'), 'c_pre_interface_mesh'),\r
+# ('MAP','Analyse 3D',os.path.join(rep_cata,'cata_s_scc_3d_analysis.py'), 's_scc_3d_analysis'),\r
+ ('MAP','Map',os.path.join(rep_cata,'mapcata.py'), 'essai'),\r
+)\r
\r
-OpenTURNS_path='/opt/Openturns/Install_0_13_2/lib/python2.5/site-packages'\r
-sys.path[:0]=[INSTALLDIR, OpenTURNS_path]\r
\r