1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Merge pull request #413 from YunoHost-Apps/Tagadda-patch-1

Use the last version of setuptools
This commit is contained in:
Tagada 2023-10-01 14:48:05 +02:00 committed by GitHub
commit 0f2b421f66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 9 deletions

View file

@ -210,7 +210,6 @@ Before installing a second instance of the app it's really recommended to update
* Official app website: <https://matrix.org/>
* Upstream app code repository: <https://github.com/matrix-org/synapse>
* YunoHost documentation for this app: <https://yunohost.org/app_synapse>
* Report a bug: <https://github.com/YunoHost-Apps/synapse_ynh/issues>
## Developer info

View file

@ -210,7 +210,6 @@ Before installing a second instance of the app it's really recommended to update
* Site officiel de lapp : <https://matrix.org/>
* Dépôt de code officiel de lapp : <https://github.com/matrix-org/synapse>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_synapse>
* Signaler un bug : <https://github.com/YunoHost-Apps/synapse_ynh/issues>
## Informations pour les développeurs

View file

@ -46,13 +46,8 @@ install_sources() {
set +$u_arg;
source $final_path/bin/activate
set -$u_arg;
if [ $(lsb_release --codename --short) == "bullseye" ]; then
# Fix issue with setuptools https://github.com/pypa/setuptools/issues/3118
pip3 install --upgrade setuptools==60.8.2 wheel pip
else
pip3 install --upgrade setuptools wheel pip
fi
pip3 install --upgrade setuptools wheel pip
pip3 install --upgrade cffi ndg-httpsclient psycopg2 lxml jinja2
pip3 install --upgrade -r $YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt