python module: fix error message mentioning setuptools

We use distutils, not setuptools, for probing information.
pull/9199/head
Eli Schwartz 3 years ago committed by Dylan Baker
parent 38db4602d8
commit 34ac77d619
  1. 2
      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).')

Loading…
Cancel
Save