From e0ed24a3284652d0f7defb9952efe9b3cdf3e8d0 Mon Sep 17 00:00:00 2001 From: ewilly Date: Mon, 13 Feb 2023 22:41:19 +0100 Subject: [PATCH 1/2] Update setuptools --- scripts/_common.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 4ea9640..43b3c1e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -142,8 +142,17 @@ myynh_install_homeassistant () { # add pip ynh_exec_as $app "$final_path/bin/python3" -m ensurepip - # install last version of wheel, pip & mysqlclient - ynh_exec_as $app "$final_path/bin/pip3" --cache-dir "$data_path/.cache" install --upgrade wheel pip mysqlclient + # install last version of pip + ynh_exec_as $app "$final_path/bin/pip3" --cache-dir "$data_path/.cache" install --upgrade pip + + # install last version of wheel + ynh_exec_as $app "$final_path/bin/pip3" --cache-dir "$data_path/.cache" install --upgrade wheel + + # install last version of setuptools + ynh_exec_as $app "$final_path/bin/pip3" --cache-dir "$data_path/.cache" install --upgrade setuptools + + # install last version of mysqlclient + ynh_exec_as $app "$final_path/bin/pip3" --cache-dir "$data_path/.cache" install --upgrade mysqlclient # install Home Assistant ynh_exec_as $app "$final_path/bin/pip3" --cache-dir "$data_path/.cache" install --upgrade $app==$app_version From cfe88bda4f7016a382b0199513150390953156e8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 13 Feb 2023 21:41:22 +0000 Subject: [PATCH 2/2] Auto-update README --- README.md | 1 + README_fr.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 9cd4ce8..6e03706 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ It shall NOT be edited by hand. # Home Assistant for YunoHost [![Integration level](https://dash.yunohost.org/integration/homeassistant.svg)](https://dash.yunohost.org/appci/app/homeassistant) ![Working status](https://ci-apps.yunohost.org/ci/badges/homeassistant.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/homeassistant.maintain.svg) + [![Install Home Assistant with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=homeassistant) *[Lire ce readme en français.](./README_fr.md)* diff --git a/README_fr.md b/README_fr.md index ff967e2..430480f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -6,6 +6,7 @@ It shall NOT be edited by hand. # Home Assistant pour YunoHost [![Niveau d’intégration](https://dash.yunohost.org/integration/homeassistant.svg)](https://dash.yunohost.org/appci/app/homeassistant) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/homeassistant.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/homeassistant.maintain.svg) + [![Installer Home Assistant avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=homeassistant) *[Read this readme in english.](./README.md)*