mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
Merge pull request #28 from YunoHost-Apps/buster
[Buster] Fix python3.5 not existing
This commit is contained in:
commit
1e3461b334
3 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,7 @@ After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=www-data
|
||||||
PermissionsStartOnly=true
|
PermissionsStartOnly=true
|
||||||
EnvironmentFile=__FINALPATH__/celery-weblate
|
EnvironmentFile=__FINALPATH__/celery-weblate
|
||||||
WorkingDirectory=__FINALPATH__/
|
WorkingDirectory=__FINALPATH__/
|
||||||
|
|
|
@ -188,6 +188,7 @@ virtualenv --python=python3 "${final_path}/venv"
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
# prevent error: "command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers"
|
# prevent error: "command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers"
|
||||||
pip install --upgrade setuptools
|
pip install --upgrade setuptools
|
||||||
|
pip install Django==2.2.*
|
||||||
pip install Weblate=="$current_version"
|
pip install Weblate=="$current_version"
|
||||||
pip install pytz python-bidi PyYaML Babel pyuca pylibravatar py3dns psycopg2-binary phply django-redis hiredis aeidon ruamel.yaml
|
pip install pytz python-bidi PyYaML Babel pyuca pylibravatar py3dns psycopg2-binary phply django-redis hiredis aeidon ruamel.yaml
|
||||||
# specific to YunoHost package:
|
# specific to YunoHost package:
|
||||||
|
|
|
@ -181,6 +181,7 @@ ynh_script_progression --message="Install weblate using PIP..." --weight=10
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
# prevent error: "command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers"
|
# prevent error: "command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers"
|
||||||
pip install --upgrade setuptools
|
pip install --upgrade setuptools
|
||||||
|
pip install Django==2.2.*
|
||||||
pip install Weblate=="$current_version"
|
pip install Weblate=="$current_version"
|
||||||
pip install pytz python-bidi PyYaML Babel pyuca pylibravatar py3dns psycopg2-binary phply django-redis hiredis aeidon ruamel.yaml
|
pip install pytz python-bidi PyYaML Babel pyuca pylibravatar py3dns psycopg2-binary phply django-redis hiredis aeidon ruamel.yaml
|
||||||
# specific to YunoHost package:
|
# specific to YunoHost package:
|
||||||
|
|
Loading…
Reference in a new issue