This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user