]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #32377: add GMSH lib directory to PYTHONPATH
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 28 Nov 2022 12:55:09 +0000 (13:55 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 28 Nov 2022 12:55:09 +0000 (13:55 +0100)
products/env_scripts/gmsh.py

index f75a47330c86c42113dd74805ead4e160da7dca3..0bab6676013a7d6c64e4c403bd44cbd8cae563dc 100644 (file)
@@ -9,6 +9,7 @@ def set_env(env, prereq_dir, version):
   env.set('GMSH_ROOT_DIR', prereq_dir)
   if platform.system() == "Windows" :
     env.append('PATH',os.path.join(prereq_dir,'bin'))
+    env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib'))
   else:
     env.prepend('LD_LIBRARY_PATH', os.path.join(prereq_dir, 'lib'))