From fa7d8a08da60b140a2fe65bbbb1ff6eae32b2e35 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Fri, 24 Jul 2026 16:01:22 +0200 Subject: [PATCH] fix: uv in startup script --- bin/start_service.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/start_service.sh b/bin/start_service.sh index 71e617c..24dda0c 100755 --- a/bin/start_service.sh +++ b/bin/start_service.sh @@ -33,9 +33,7 @@ export UV_LINK_MODE="copy" APP_DIR=${SVC_DIR}/current/app echo "App dir: ${APP_DIR}" -# TODO: do we need this? pyepics is not PSI specific... -# (re)create venv using site-packages -- uses system-wide installed epics -# uv venv --system-site-packages ${APP_DIR}/.venv --clear +uv venv --project "${APP_DIR}" --allow-existing # install custom python packages from pyproject.toml / uv.lock uv sync --frozen --project ${APP_DIR} # activate .venv, this works in conjunction with the conda environment