tools/check_python_dependencies: print diagnostic info on failure

Helps collect more data for cases such as:
https://github.com/espressif/esp-idf/issues/5133
This commit is contained in:
Ivan Grokhotkov
2020-04-16 11:52:19 +02:00
parent d043674b2b
commit 46e9aef6c9
2 changed files with 11 additions and 2 deletions

View File

@@ -79,6 +79,7 @@ function idf_export_main() {
idf_exports=$(${IDF_PATH}/tools/idf_tools.py export) || return 1
eval "${idf_exports}"
echo "Using Python interpreter in $(which python)"
echo "Checking if Python packages are up to date..."
python ${IDF_PATH}/tools/check_python_dependencies.py || return 1