mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-04 00:17:06 +00:00
Added venv for python3
This commit is contained in:
parent
f5e583d76d
commit
3795904150
@ -12,6 +12,10 @@ if [ -z "${NONINTERACTIVE:-}" ]; then
|
|||||||
apt_get_quiet install dialog python3 python3-pip || exit 1
|
apt_get_quiet install dialog python3 python3-pip || exit 1
|
||||||
fi
|
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
|
# 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
|
# we install it inside a virtualenv. In this script, we don't have the virtualenv yet
|
||||||
|
Loading…
Reference in New Issue
Block a user