1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-03 00:07:05 +00:00

Added venv for python3

This commit is contained in:
AiutoPcAmico 2023-12-05 21:51:38 +01:00
parent f5e583d76d
commit 3795904150

View File

@ -12,6 +12,10 @@ if [ -z "${NONINTERACTIVE:-}" ]; then
apt_get_quiet install dialog python3 python3-pip || exit 1
fi
echo "install vintual env for python3"
hide_output apt install python3-venv
hide_output python3 -m venv mailinabox
hide_output source mailinabox/bin/activate
# Installing email_validator is repeated in setup/management.sh, but in setup/management.sh
# we install it inside a virtualenv. In this script, we don't have the virtualenv yet