mirror of
https://github.com/YunoHost-Apps/django-for-runners_ynh.git
synced 2024-09-03 18:26:16 +02:00
Fix #15 by use pip with "--prefer-binary"
See also: https://matplotlib.org/stable/users/installing/index.html
This commit is contained in:
parent
29c7d13d7f
commit
92f8c45db6
4 changed files with 4 additions and 4 deletions
|
@ -113,7 +113,7 @@ chown -R "$app:" "$final_path"
|
||||||
source "${final_path}/venv/bin/activate"
|
source "${final_path}/venv/bin/activate"
|
||||||
set -o nounset
|
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 --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"
|
||||||
)
|
)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -96,7 +96,7 @@ python3 -m venv "${final_path}/venv"
|
||||||
source "${final_path}/venv/bin/activate"
|
source "${final_path}/venv/bin/activate"
|
||||||
set -o nounset
|
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 --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"
|
||||||
)
|
)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -97,7 +97,7 @@ chown -R "$app:" "$final_path"
|
||||||
source "${final_path}/venv/bin/activate"
|
source "${final_path}/venv/bin/activate"
|
||||||
set -o nounset
|
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 --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"
|
||||||
)
|
)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -14,4 +14,4 @@ python3 -m venv "${final_path}/venv"
|
||||||
source "${final_path}/venv/bin/activate"
|
source "${final_path}/venv/bin/activate"
|
||||||
|
|
||||||
$final_path/venv/bin/pip install --upgrade wheel pip
|
$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"
|
||||||
|
|
Loading…
Reference in a new issue