From fcee7b91c4a0789e6f4c303a257c8cc373cd7818 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Mon, 6 Jul 2026 15:37:13 +0200 Subject: [PATCH] fix: recreate venv if already exist --- bin/start_service.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/start_service.sh b/bin/start_service.sh index 448d72b..2b4c538 100755 --- a/bin/start_service.sh +++ b/bin/start_service.sh @@ -27,8 +27,8 @@ pip install uv PATH="${HOME}/.local/bin:${PATH}" cd ${SVC_DIR}/current/app -# create venv using site-packages -- uses system-wide installed epics -uv venv --system-site-packages .venv +# (re)create venv using site-packages -- uses system-wide installed epics +uv venv --system-site-packages .venv --clear # install custom python packages from pyproject.toml / uv.lock uv sync --frozen # activate .venv, this works in conjunction with the conda environment