From 18c11899cbbc78d480838e97d165629f154de2fb Mon Sep 17 00:00:00 2001 From: "Celestial.y" Date: Tue, 21 Oct 2025 13:40:03 +0800 Subject: [PATCH] Update package-installers.sh --- sdata/lib/package-installers.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sdata/lib/package-installers.sh b/sdata/lib/package-installers.sh index c89d8009e..54da9833d 100644 --- a/sdata/lib/package-installers.sh +++ b/sdata/lib/package-installers.sh @@ -1,6 +1,5 @@ # This script depends on `functions.sh' . -# This is NOT a script for execution, but for loading functions, so NOT need execution permission or shebang. -# NOTE that you NOT need to `cd ..' because the `$0' is NOT this file, but the script file which will source this file. +# This script is not for direct execution, instead it should be sourced by other script. It does not need execution permission or shebang. # shellcheck shell=bash @@ -105,5 +104,5 @@ install-python-packages(){ x uv venv --prompt .venv $(eval echo $ILLOGICAL_IMPULSE_VIRTUAL_ENV) -p 3.12 x source $(eval echo $ILLOGICAL_IMPULSE_VIRTUAL_ENV)/bin/activate x uv pip install -r sdata/uv/requirements.txt - x deactivate # We don't need the virtual environment anymore + x deactivate }