aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-08-31 01:09:22 -0400
committerDylan Baker <dylan@pnwbakers.com>2021-08-31 08:42:27 -0700
commit34ac77d6199f0fd1143018a78067c6152bf8fac7 (patch)
treed4c333b9cf9790ee81817edb9e451bdee90b050f
parent38db4602d8f80c3d2aec80ed527e3eed3c41b08c (diff)
downloadmeson-34ac77d6199f0fd1143018a78067c6152bf8fac7.zip
meson-34ac77d6199f0fd1143018a78067c6152bf8fac7.tar.gz
meson-34ac77d6199f0fd1143018a78067c6152bf8fac7.tar.bz2
python module: fix error message mentioning setuptools
We use distutils, not setuptools, for probing information.
-rw-r--r--mesonbuild/modules/python.py2
1 files changed, 1 insertions, 1 deletions
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).')