Salome HOME
EDF request: supress a modification of the LD_LIBRARY_PATH in ZCracksPlug. V8_3_0 V8_3_0rc6
authorrnv <rnv@opencascade.com>
Fri, 19 May 2017 13:51:33 +0000 (16:51 +0300)
committerrnv <rnv@opencascade.com>
Fri, 19 May 2017 13:51:33 +0000 (16:51 +0300)
src/Tools/ZCracksPlug/__init__.py

index 4ae994c..ed56ab1 100644 (file)
@@ -4,12 +4,6 @@ import utilityFunctions as uF
 
 os.environ['QT_QPA_PLATFORM_PLUGIN_PATH']=os.path.join(os.environ['QTDIR'],'plugins','platforms')
 
 
 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)
 
 #commande="/bin/bash -c ""source $HOME/zebulon/Z8.6.6_NEW/do_config_bash"""
 #os.system(commande)