From af1a81fffc43b2b09c4041076b492e9777d1ecdf Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Thu, 27 Jun 2019 19:21:07 +0300 Subject: Improve error message when Python is not usable. [skip ci] --- mesonbuild/modules/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/modules/python.py') diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index 9b8f3a3..3a221f8 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -577,7 +577,7 @@ class PythonModule(ExtensionModule): else: res = ExternalProgramHolder(NonExistingExternalProgram()) if required: - raise mesonlib.MesonException('{} is not a valid python'.format(python)) + raise mesonlib.MesonException('{} is not a valid python or it is missing setuptools'.format(python)) return res -- cgit v1.1