From bb37760e9e89d937207db180297bea80e7bf16f3 Mon Sep 17 00:00:00 2001 From: clsty Date: Fri, 7 Feb 2025 08:51:03 +0800 Subject: [PATCH] PYTHON_VENV_PATH moving into func def --- scriptdata/environment-variables | 2 -- scriptdata/installers | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scriptdata/environment-variables b/scriptdata/environment-variables index da6cc286..353b0bf8 100644 --- a/scriptdata/environment-variables +++ b/scriptdata/environment-variables @@ -5,5 +5,3 @@ XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-$HOME/.config} XDG_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share} XDG_STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state} BACKUP_DIR=${BACKUP_DIR:-$HOME/backup} -UV_NO_MODIFY_PATH=1 -PYTHON_VENV_PATH=$XDG_STATE_HOME/ags/.venv diff --git a/scriptdata/installers b/scriptdata/installers index f519e342..80806be1 100644 --- a/scriptdata/installers +++ b/scriptdata/installers @@ -118,6 +118,8 @@ install-uv (){ # Both for Arch(based) and other distros. install-python-packages (){ + UV_NO_MODIFY_PATH=1 + PYTHON_VENV_PATH=$XDG_STATE_HOME/ags/.venv x mkdir -p $PYTHON_VENV_PATH # we need python 3.12 https://github.com/python-pillow/Pillow/issues/8089 x uv venv --prompt .venv $PYTHON_VENV_PATH -p 3.12