From: Nabil Ghodbane Date: Mon, 28 Nov 2022 13:28:24 +0000 (+0100) Subject: spns #32377: gmsh python api linux windows X-Git-Tag: V9_11_0~172 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2892ee7367b2abb6f47bc7dd8c62f8cb7fce8e18;p=tools%2Fsat_salome.git spns #32377: gmsh python api linux windows --- diff --git a/products/env_scripts/gmsh.py b/products/env_scripts/gmsh.py index 0bab667..fe039f3 100644 --- a/products/env_scripts/gmsh.py +++ b/products/env_scripts/gmsh.py @@ -9,9 +9,10 @@ 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')) + env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'bin')) else: env.prepend('LD_LIBRARY_PATH', os.path.join(prereq_dir, 'lib')) + env.prepend('PYTHONPATH', os.path.join(prereq_dir, 'lib')) def set_nativ_env(env): env.set('GMSH_ROOT_DIR', '/usr')