Salome HOME
Merge branch 'V9_9_BR'
[modules/smesh.git] / src / Tools / ZCracksPlug / __init__.py
index 967dc97cf00d65775ff9be8ede697db90a2845d0..6d0ff1529ee42f259d849321b89005a3febd5d1b 100644 (file)
@@ -1,15 +1,28 @@
+# Copyright (C) 2016-2022  EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
 import sys, os, shutil, pickle, tempfile
 from Zcracks import main, genereCrack, Zset
 from Zcracks import utilityFunctions as uF
 
 os.environ['QT_QPA_PLATFORM_PLUGIN_PATH']=os.path.join(os.environ['QTDIR'],'plugins','platforms')
 
-if 'MESHGEMSHOME' in os.environ:
-  meshgemsdir=os.environ['MESHGEMSHOME']
-  if len(meshgemsdir) > 0:
-    meshgems=meshgemsdir.split(os.sep)[-1]
-    uF.removeFromSessionPath('LD_LIBRARY_PATH', meshgems)
-
 #commande="/bin/bash -c ""source $HOME/zebulon/Z8.6.6_NEW/do_config_bash"""
 #os.system(commande)