If the minimum python version isn't met, show a pointer to the new
install-buildtools script.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
# any other new feature use, just check the version here.
py_v35_check=$(python3 -c 'import sys; print(sys.version_info >= (3,5,0))')
if [ "$py_v35_check" != "True" ]; then
- echo >&2 "BitBake requires Python 3.5.0 or later as 'python3'"
+ echo >&2 "BitBake requires Python 3.5.0 or later as 'python3 (scripts/install-buildtools can be used if needed)'"
return 1
fi
unset py_v35_check