Skip to content

Commit

Permalink
Install publisher in virtual environment
Browse files Browse the repository at this point in the history
This avoids polluting the host environment with our pip package.
  • Loading branch information
TimoWilken committed Nov 20, 2023
1 parent 03e0ad9 commit d4ab67b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion publish/get-and-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ if [[ ! $NO_UPDATE ]]; then
popd
fi

pip3 install --user -Ue "$DEST"
venv=$(dirname "$DEST")/venv
rm -rf "$venv"
python3 -m venv "$venv"
. "$venv/bin/activate"
pip install -Ue "$DEST"

ln -nfs $(basename $LOG.error) $PWD/log/latest
CACHE=$PWD/cache
Expand Down

0 comments on commit d4ab67b

Please sign in to comment.