diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-27 19:21:07 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-27 20:45:58 +0300 |
commit | af1a81fffc43b2b09c4041076b492e9777d1ecdf (patch) | |
tree | 821f13ee705bf0e937e0969cfa677201d8e0384d | |
parent | 8ebe3d46bb3695118acb0dfe7a038b0ecfde4f77 (diff) | |
download | meson-af1a81fffc43b2b09c4041076b492e9777d1ecdf.zip meson-af1a81fffc43b2b09c4041076b492e9777d1ecdf.tar.gz meson-af1a81fffc43b2b09c4041076b492e9777d1ecdf.tar.bz2 |
Improve error message when Python is not usable. [skip ci]
-rw-r--r-- | mesonbuild/modules/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |