Make deps install sane without venv

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-07-14 16:59:47 +00:00
parent 7cfcd56ef3
commit a3f0ab80b8

View file

@ -6,7 +6,7 @@ FF_OFFLINE_MKDOCS_PLUGIN=${FF_OFFLINE_MKDOCS_PLUGIN:-"false"}
FF_ENABLE_COMMIT_DATA=${FF_ENABLE_COMMIT_DATA:-"true"} FF_ENABLE_COMMIT_DATA=${FF_ENABLE_COMMIT_DATA:-"true"}
FF_GENERATE_SOCIAL_CARDS=${FF_GENERATE_SOCIAL_CARDS:-"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 python3 -m venv $PWD/.venv
fi fi
$PWD/.venv/bin/pip3 install -r requirements.txt --upgrade $PWD/.venv/bin/pip3 install -r requirements.txt --upgrade