Homeassistan Core: Fix Python3 and add missing dependencies (#1236)

This commit is contained in:
CanbiZ 2025-01-04 18:14:16 +01:00 committed by GitHub
parent 71c04d9e12
commit 67cdc35d02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,9 +14,48 @@ network_check
update_os
msg_info "Installing Dependencies (Patience)"
$STD apt-get install -y git curl sudo mc bluez libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libturbojpeg0-dev ffmpeg liblapack3 liblapack-dev dbus-broker libpcap-dev libavdevice-dev libavformat-dev libavcodec-dev libavutil-dev libavfilter-dev libmariadb-dev-compat libatlas-base-dev pip python3.13-dev
$STD apt-get install -y \
git \
curl \
sudo \
mc \
bluez \
libtiff \
tzdata \
libffi-dev \
libssl-dev \
libjpeg-dev \
zlib1g-dev \
autoconf \
build-essential \
libopenjp2-7 \
libturbojpeg0-dev \
ffmpeg \
liblapack3 \
liblapack-dev \
dbus-broker \
libpcap-dev \
libavdevice-dev \
libavformat-dev \
libavcodec-dev \
libavutil-dev \
libavfilter-dev \
libmariadb-dev-compat \
libatlas-base-dev
msg_ok "Installed Dependencies"
msg_info "Setup Python3"
curl -fsSL https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x6A755776 | sudo gpg --dearmor -o /usr/share/keyrings/deadsnakes-archive.gpg
echo "deb [signed-by=/usr/share/keyrings/deadsnakes-archive.gpg] http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/deadsnakes-ppa.list
$STD apt-get update
$STD apt get install -y \
python3 \
python3-pip \
python3-dev \
python3-venv
msg_ok "Setup Python3
msg_info "Installing UV"
$STD pip install uv
msg_ok "Installed UV"