From e4adb49e55e91450b69f91280a11ed1d7a0b363c Mon Sep 17 00:00:00 2001 From: evantwout <7569210+evantwout@users.noreply.github.com> Date: Tue, 19 Apr 2022 04:16:50 -0400 Subject: [PATCH] Wider search of gmsh on Windows. (#153) When Gmsh is installed through Pip on Windows, the executable is called 'gmsh' instead of 'gmsh.exe', so a wider search of the gmsh path is necessary. --- bempp/api/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bempp/api/__init__.py b/bempp/api/__init__.py index 7206ab27..47a5525e 100644 --- a/bempp/api/__init__.py +++ b/bempp/api/__init__.py @@ -219,6 +219,8 @@ def _gmsh_path(): if _os.name == "nt": gmp = which("gmsh.exe") + if gmp is None: + gmp = which("gmsh") else: gmp = which("gmsh") if gmp is None: