shouldn't need virtualenv on rhel

This commit is contained in:
Erica Portnoy 2020-08-12 17:29:44 -07:00
parent 1dfc73150a
commit cac8fa4eed

View file

@ -159,21 +159,11 @@ BootstrapRpmPython3Legacy() {
}
BootstrapRpmPython3() {
# Tested with:
# - Fedora 29
InitializeRPMCommonBase
# Fedora 29 must use python3-virtualenv
if $TOOL list python3-virtualenv >/dev/null 2>&1; then
python_pkgs="python3
python3-virtualenv
python3-devel
"
else
error "No supported Python package available to install. Aborting bootstrap!"
exit 1
fi
python_pkgs="python3
python3-devel
"
BootstrapRpmCommonBase "$python_pkgs"
}