bindings: Print out more helpful error message

This commit is contained in:
Tom Henderson
2020-10-08 11:58:48 -07:00
parent f7871790c3
commit 7a76d5fb8c

View File

@@ -206,7 +206,7 @@ def configure(conf):
Logs.warn("pybindgen (found %r), (need %r)" %
(pybindgen_version, REQUIRED_PYBINDGEN_VERSION))
conf.report_optional_feature("python", "Python Bindings", False,
"PyBindGen version not correct and newer version could not be retrieved")
"PyBindGen found but version %s is not the required version %s" % (pybindgen_version, REQUIRED_PYBINDGEN_VERSION))
return