+ if [ $PYTHON3_ENABLE ] && [ $PYTHON3_ENABLE != TRUE ]
+ then
+ if [ $origin_version ];then
+ origin_version=
+ fi
+ for python in $(whereis python2)
+ do
+ python=$(echo $python | grep "[[:digit:]]$" || true)
+ python_version=${python##*python}
+ if [ -z "${python_version}" ] || (! command -v $python >/dev/null 2>&1);then
+ continue
+ fi
+ if [ -z $origin_version ]
+ then
+ origin_version=$python_version
+ export PYTHON_COMMAND=$python
+ continue
+ fi
+ if [[ "$origin_version" < "$python_version" ]]; then
+ origin_version=$python_version
+ export PYTHON_COMMAND=$python
+ fi
+ done
+ return 0
+ fi
+
+ SetupPython3