diff --git a/install-weblate b/install-weblate index 0261aa7..bde857d 100755 --- a/install-weblate +++ b/install-weblate @@ -71,7 +71,7 @@ WEBLATE_HOME=~weblate # Install Weblate and deps sudo -u weblate virtualenv --python=python3 "$WEBLATE_HOME/weblate-env" -sudo -u weblate "$WEBLATE_HOME/weblate-env/bin/pip" install "Weblate[all,zxcvbn]$WEBLATE_VERSION" wllegal 'pygobject<3.52' +sudo -u weblate "$WEBLATE_HOME/weblate-env/bin/pip" install "Weblate[all,zxcvbn,wsgi]$WEBLATE_VERSION" wllegal 'pygobject<3.52' PYVER=$(python3 -c 'import sys; print("{}.{}".format(*sys.version_info[:2]))') diff --git a/upgrade-weblate b/upgrade-weblate index 7c10408..9252a5c 100755 --- a/upgrade-weblate +++ b/upgrade-weblate @@ -123,7 +123,7 @@ else WEBLATE_PKG="Weblate" PIP_ARGS="" fi - WEBLATE_FLAGS="all,zxcvbn,wllegal" + WEBLATE_FLAGS="all,zxcvbn,wllegal,wsgi" if [ -d "$WEBLATE_HOME/hosted" ]; then PIP_ARGS="--editable $WEBLATE_HOME/hosted $PIP_ARGS" WEBLATE_FLAGS="$WEBLATE_FLAGS,mysql,saml2idp"