From 34ac77d6199f0fd1143018a78067c6152bf8fac7 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Tue, 31 Aug 2021 01:09:22 -0400 Subject: python module: fix error message mentioning setuptools We use distutils, not setuptools, for probing information. --- mesonbuild/modules/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index f25957d..bddaa19 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -674,7 +674,7 @@ class PythonModule(ExtensionModule): return python else: if required: - raise mesonlib.MesonException(f'{python} is not a valid python or it is missing setuptools') + raise mesonlib.MesonException(f'{python} is not a valid python or it is missing distutils') return NonExistingExternalProgram() raise mesonlib.MesonBugException('Unreachable code was reached (PythonModule.find_installation).') -- cgit v1.1