From a3f0ab80b89297295b9d65bfffcb920133d9b8c2 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Fri, 14 Jul 2023 16:59:47 +0000 Subject: [PATCH] Make deps install sane without venv Signed-off-by: Andrei Jiroh Halili --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 6d5aeab..8d7d2d2 100755 --- a/build.sh +++ b/build.sh @@ -6,7 +6,7 @@ FF_OFFLINE_MKDOCS_PLUGIN=${FF_OFFLINE_MKDOCS_PLUGIN:-"false"} FF_ENABLE_COMMIT_DATA=${FF_ENABLE_COMMIT_DATA:-"true"} FF_GENERATE_SOCIAL_CARDS=${FF_GENERATE_SOCIAL_CARDS:-"true"} -if [[ ! -d "$PWD/.venv" ]]; then +if [[ ! -d "$PWD/.venv" && $SKIP_VENV_SETUP == "" ]]; then python3 -m venv $PWD/.venv fi $PWD/.venv/bin/pip3 install -r requirements.txt --upgrade