[mod] remove obsolete virtualenv command

Installation and use of the command 'virtualenv' was only needed in py2 and py2
is no longer suported by searx.  In py3 the command is replaced by 'python -m
venv'.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-12-18 22:31:13 +01:00
parent 14c7cc0e11
commit 1a4524e03c
4 changed files with 10 additions and 23 deletions

View file

@ -1399,16 +1399,16 @@ EOF
}
# apt packages
LXC_BASE_PACKAGES_debian="bash git build-essential python3 virtualenv"
LXC_BASE_PACKAGES_debian="bash git build-essential python3 python3-venv"
# pacman packages
LXC_BASE_PACKAGES_arch="bash git base-devel python python-virtualenv"
LXC_BASE_PACKAGES_arch="bash git base-devel python"
# dnf packages
LXC_BASE_PACKAGES_fedora="bash git @development-tools python virtualenv"
LXC_BASE_PACKAGES_fedora="bash git @development-tools python"
# yum packages
LXC_BASE_PACKAGES_centos="bash git @development-tools python python-virtualenv"
LXC_BASE_PACKAGES_centos="bash git @development-tools python3"
case $DIST_ID in
ubuntu|debian) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_debian}" ;;