diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 4570f78..a6adb33 100644 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -4217,6 +4217,14 @@ install_centos_stable_deps() { __PACKAGES="${__PACKAGES} PyYAML" fi fi + else + if [ -n "$_PY_EXE" ] && [ "$_PY_MAJOR_VERSION" -eq 3 ]; then + if [ "$DISTRO_MAJOR_VERSION" -ge 8 ]; then + __PACKAGES="${__PACKAGES} python3-setuptools" + else + __PACKAGES="${__PACKAGES} python36-setuptools" + fi + fi fi # shellcheck disable=SC2086