mirror of
https://github.com/iio612/immich-native.git
synced 2026-04-15 03:11:05 +00:00
Migrate to uv
6da77600e5
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
@@ -43,7 +43,7 @@ umask 077
|
|||||||
rm -rf $APP $APP/../i18n
|
rm -rf $APP $APP/../i18n
|
||||||
mkdir -p $APP
|
mkdir -p $APP
|
||||||
|
|
||||||
# Wipe npm, pypoetry, etc
|
# Wipe npm, uv, etc
|
||||||
# This expects immich user's home directory to be on $IMMICH_PATH/home
|
# This expects immich user's home directory to be on $IMMICH_PATH/home
|
||||||
rm -rf $IMMICH_PATH/home
|
rm -rf $IMMICH_PATH/home
|
||||||
mkdir -p $IMMICH_PATH/home
|
mkdir -p $IMMICH_PATH/home
|
||||||
@@ -108,9 +108,9 @@ python3 -m venv $APP/machine-learning/venv
|
|||||||
(
|
(
|
||||||
# Initiate subshell to setup venv
|
# Initiate subshell to setup venv
|
||||||
. $APP/machine-learning/venv/bin/activate
|
. $APP/machine-learning/venv/bin/activate
|
||||||
pip3 install poetry
|
pip3 install uv
|
||||||
cd machine-learning
|
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 ..
|
cd ..
|
||||||
)
|
)
|
||||||
cp -a \
|
cp -a \
|
||||||
|
|||||||
Reference in New Issue
Block a user