mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
fix install
This commit is contained in:
parent
33612925fc
commit
2529b922bd
3 changed files with 5 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
#=================================================
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="libffi-dev libxml2-dev libxslt-dev libfreetype6-dev libjpeg-dev libz-dev libyaml-dev \
|
||||
pkg_dependencies="libxml2-dev libxslt-dev libfreetype6-dev libjpeg-dev libz-dev libyaml-dev \
|
||||
libcairo-dev gir1.2-pango-1.0 libgirepository1.0-dev libacl1-dev libssl-dev \
|
||||
build-essential python3-gdbm python3-enchant python3-dev python3-pip python3-virtualenv virtualenv git \
|
||||
uwsgi uwsgi-plugin-python3 redis-server postgresql postgresql-contrib \
|
||||
|
|
|
@ -126,6 +126,8 @@ chown -R "$app": "$final_path"
|
|||
cd "${final_path}"
|
||||
|
||||
sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel
|
||||
# Tmp fix
|
||||
sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi==1.14
|
||||
# Still needed with latest version of weblate?
|
||||
sudo --user=$app $final_path/venv/bin/pip install Weblate=="$weblate_version"
|
||||
sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply
|
||||
|
|
|
@ -170,6 +170,8 @@ upgrade() {
|
|||
cd "${final_path}"
|
||||
|
||||
sudo --user=$app $final_path/venv/bin/pip install --upgrade pip setuptools wheel
|
||||
# Tmp fix
|
||||
sudo --user=$app $final_path/venv/bin/pip install --upgrade cffi==1.14
|
||||
# Still needed with latest version of weblate?
|
||||
sudo --user=$app $final_path/venv/bin/pip install --upgrade Weblate=="$new_version"
|
||||
sudo --user=$app $final_path/venv/bin/pip install psycopg2-binary ruamel.yaml aeidon phply
|
||||
|
|
Loading…
Reference in a new issue