From 1b99eb5547d8b76fc34671585cc78328b03db7e5 Mon Sep 17 00:00:00 2001 From: Juhyung Park Date: Fri, 14 Mar 2025 04:19:53 +0900 Subject: [PATCH] Migrate to uv https://github.com/immich-app/immich/commit/6da77600e53d5e1e69a4118fd4bffa8ed5661205 Signed-off-by: Juhyung Park --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index af1224d..1c7d074 100755 --- a/install.sh +++ b/install.sh @@ -43,7 +43,7 @@ umask 077 rm -rf $APP $APP/../i18n mkdir -p $APP -# Wipe npm, pypoetry, etc +# Wipe npm, uv, etc # This expects immich user's home directory to be on $IMMICH_PATH/home rm -rf $IMMICH_PATH/home mkdir -p $IMMICH_PATH/home @@ -108,9 +108,9 @@ python3 -m venv $APP/machine-learning/venv ( # Initiate subshell to setup venv . $APP/machine-learning/venv/bin/activate - pip3 install poetry + pip3 install uv cd machine-learning - poetry install --no-root --with dev --with cpu + uv sync --no-install-project --no-install-workspace --extra cpu --no-cache --active --link-mode=copy cd .. ) cp -a \