From 249113c2b91988498e05c9cfcc6bf1d0c24d0206 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 22 Jan 2026 15:49:39 +0100 Subject: [PATCH] Update wger install and update scripts for pip usage Replaces 'uv sync --no-dev' and editable pip install with 'uv venv' and standard pip install in both wger.sh and wger-install.sh. This streamlines the installation and update process for wger. --- ct/wger.sh | 3 +-- install/wger-install.sh | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ct/wger.sh b/ct/wger.sh index b87635bba..4da90279d 100644 --- a/ct/wger.sh +++ b/ct/wger.sh @@ -51,8 +51,7 @@ function update_script() { msg_info "Updating wger" cd /opt/wger - $STD uv sync --no-dev - $STD uv pip install -e . + $STD uv pip install . export DJANGO_SETTINGS_MODULE=settings.main export PYTHONPATH=/opt/wger $STD uv run python manage.py migrate diff --git a/install/wger-install.sh b/install/wger-install.sh index 3eb392098..eff990e60 100644 --- a/install/wger-install.sh +++ b/install/wger-install.sh @@ -31,8 +31,8 @@ chown :www-data -R /opt/wger/db chmod g+w /opt/wger/db /opt/wger/db/database.sqlite chmod o+w /opt/wger/media cd /opt/wger -$STD uv sync --no-dev -$STD uv pip install -e . +$STD uv venv +$STD uv pip install . mkdir -p /opt/wger/settings cat </opt/wger/settings/main.py from wger.settings_global import *