From 443cea779542c79bcc140f0fc58b9e9b18ecb8cd Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 28 Nov 2022 13:55:09 +0100 Subject: [PATCH] spns #32377: add GMSH lib directory to PYTHONPATH --- products/env_scripts/gmsh.py | 1 + 1 file changed, 1 insertion(+) 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')) -- 2.39.2