summaryrefslogtreecommitdiff
path: root/devel/py-pythran/files/patch-pythran_dist.py
blob: 10a0ee69fd59828e3f6a423c129d3c43fe87b446 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- pythran/dist.py.orig	2024-10-17 07:42:48 UTC
+++ pythran/dist.py
@@ -92,7 +92,7 @@ class PythranBuildExtMixIn(object):
                     return find_exe(exe, *args, **kwargs)
 
                 msvc._find_exe = _find_exe
-            except ImportError:
+            except (AttributeError, ImportError):
                 pass
 
         # In general, distutils uses -Wstrict-prototypes, but this option