From 88fd3a63ed189f1c281b1f90896d41c4a89c3e2e Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 29 Sep 2025 10:14:16 +0200 Subject: [PATCH] Update dependencies and Python version in install script Added pciutils to the list of dependencies and updated the Python version used for setup_uv from 3.12 to 3.13. Removed duplicate setup_uv and fetch_and_deploy_gh_release calls to streamline the installation process. --- install/viseron-install.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/install/viseron-install.sh b/install/viseron-install.sh index 78967057..82b620e5 100644 --- a/install/viseron-install.sh +++ b/install/viseron-install.sh @@ -16,15 +16,15 @@ update_os msg_info "Installing Dependencies" $STD apt-get install -y \ python3-opencv jq \ - libgl1-mesa-glx libglib2.0-0 \ + libgl1-mesa-glx libglib2.0-0 pciutils \ libgstreamer1.0-0 libgstreamer-plugins-base1.0-0 \ gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav \ build-essential python3-dev python3-gi pkg-config libcairo2-dev gir1.2-glib-2.0 \ cmake gfortran libopenblas-dev liblapack-dev libgirepository1.0-dev git msg_ok "Installed Dependencies" -PYTHON_VERSION="3.12" setup_uv PG_VERSION="16" setup_postgresql +PYTHON_VERSION="3.13" setup_uv msg_info "Setting up PostgreSQL Database" DB_NAME=viseron @@ -51,9 +51,6 @@ if [[ "$CTTYPE" == "0" ]]; then fi msg_ok "Hardware Acceleration Configured" -PYTHON_VERSION="3.13" setup_uv -fetch_and_deploy_gh_release "viseron" "roflcoopter/viseron" "tarball" "latest" "/opt/viseron" - msg_info "Setting up Python Environment" uv venv --python "python3.13" /opt/viseron/.venv uv pip install --python /opt/viseron/.venv/bin/python --upgrade pip setuptools wheel