From: Nabil Ghodbane Date: Mon, 28 Nov 2022 12:55:09 +0000 (+0100) Subject: spns #32377: add GMSH lib directory to PYTHONPATH X-Git-Tag: V9_11_0~173 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=443cea779542c79bcc140f0fc58b9e9b18ecb8cd;p=tools%2Fsat_salome.git spns #32377: add GMSH lib directory to PYTHONPATH --- diff --git a/products/env_scripts/gmsh.py b/products/env_scripts/gmsh.py index f75a473..0bab667 100644 --- a/products/env_scripts/gmsh.py +++ b/products/env_scripts/gmsh.py @@ -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'))