From d587fb587d2d32963a7b5f6dfe45895a5e1e6076 Mon Sep 17 00:00:00 2001 From: Mads Andreasen Date: Sun, 21 Jul 2024 15:28:33 +0200 Subject: Remove the exe_exists function This function is no longer used since shutil.which() is used instead. --- mesonbuild/utils/universal.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'mesonbuild') diff --git a/mesonbuild/utils/universal.py b/mesonbuild/utils/universal.py index b5310b8c3..574bcb51f 100644 --- a/mesonbuild/utils/universal.py +++ b/mesonbuild/utils/universal.py @@ -680,9 +680,6 @@ def is_qnx() -> bool: def is_aix() -> bool: return platform.system().lower() == 'aix' -def exe_exists(exe: str) -> bool: - return shutil.which(exe) is not None - @lru_cache(maxsize=None) def darwin_get_object_archs(objpath: str) -> 'ImmutableListProtocol[str]': ''' -- cgit v1.2.3