Merge pull request #16 from YunoHost-Apps/updates

Fix #15 by use pip with "--prefer-binary"
This commit is contained in:
Jens Diemer 2021-11-22 23:41:46 +01:00 committed by GitHub
commit 89d754b977
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -113,7 +113,7 @@ chown -R "$app:" "$final_path"
source "${final_path}/venv/bin/activate"
set -o nounset
ynh_exec_as $app $final_path/venv/bin/pip install --upgrade wheel pip
ynh_exec_as $app $final_path/venv/bin/pip install --no-deps -r "$final_path/requirements.txt"
ynh_exec_as $app $final_path/venv/bin/pip install --no-deps --prefer-binary -r "$final_path/requirements.txt"
)
#=================================================

View file

@ -96,7 +96,7 @@ python3 -m venv "${final_path}/venv"
source "${final_path}/venv/bin/activate"
set -o nounset
ynh_exec_as $app $final_path/venv/bin/pip install --upgrade wheel pip
ynh_exec_as $app $final_path/venv/bin/pip install --no-deps -r "$final_path/requirements.txt"
ynh_exec_as $app $final_path/venv/bin/pip install --no-deps --prefer-binary -r "$final_path/requirements.txt"
)
#=================================================

View file

@ -97,7 +97,7 @@ chown -R "$app:" "$final_path"
source "${final_path}/venv/bin/activate"
set -o nounset
ynh_exec_as $app $final_path/venv/bin/pip install --upgrade wheel pip
ynh_exec_as $app $final_path/venv/bin/pip install --no-deps -r "$final_path/requirements.txt"
ynh_exec_as $app $final_path/venv/bin/pip install --no-deps --prefer-binary -r "$final_path/requirements.txt"
)
#=================================================

View file

@ -14,4 +14,4 @@ python3 -m venv "${final_path}/venv"
source "${final_path}/venv/bin/activate"
$final_path/venv/bin/pip install --upgrade wheel pip
$final_path/venv/bin/pip install --no-deps -r "./conf/requirements.txt"
$final_path/venv/bin/pip install --no-deps --prefer-binary -r "./conf/requirements.txt"