From fe75a14fc663ac5c26550bf6def7e7149c72ec48 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Fri, 17 Jul 2026 12:33:54 +0200 Subject: [PATCH] chore: change uv cache location --- bin/start_service.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/start_service.sh b/bin/start_service.sh index f284427..f56ea77 100755 --- a/bin/start_service.sh +++ b/bin/start_service.sh @@ -26,8 +26,13 @@ pip install uv # to run `uv ...` PATH="${HOME}/.local/bin:${PATH}" +export UV_CACHE_DIR="/sls/bd/hla/.cache/uv" +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 # install custom python packages from pyproject.toml / uv.lock