diff --git a/publish/get-and-run.sh b/publish/get-and-run.sh index 374147a0..aa506665 100755 --- a/publish/get-and-run.sh +++ b/publish/get-and-run.sh @@ -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