mirror of
https://github.com/YunoHost-Apps/django-for-runners_ynh.git
synced 2024-09-03 18:26:16 +02:00
Merge pull request #17 from YunoHost-Apps/updates
install Cython to fix #15
This commit is contained in:
commit
cd7c59f4c6
3 changed files with 15 additions and 0 deletions
|
@ -113,6 +113,11 @@ 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
|
||||||
|
|
||||||
|
# for installing packages like "matplotlib"
|
||||||
|
# See: https://github.com/YunoHost-Apps/django-for-runners_ynh/issues/15
|
||||||
|
ynh_exec_as $app $final_path/venv/bin/pip install --upgrade --prefer-binary Cython
|
||||||
|
|
||||||
ynh_exec_as $app $final_path/venv/bin/pip install --no-deps --prefer-binary -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,6 +96,11 @@ 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
|
||||||
|
|
||||||
|
# for installing packages like "matplotlib"
|
||||||
|
# See: https://github.com/YunoHost-Apps/django-for-runners_ynh/issues/15
|
||||||
|
ynh_exec_as $app $final_path/venv/bin/pip install --upgrade --prefer-binary Cython
|
||||||
|
|
||||||
ynh_exec_as $app $final_path/venv/bin/pip install --no-deps --prefer-binary -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,6 +97,11 @@ 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
|
||||||
|
|
||||||
|
# for installing packages like "matplotlib"
|
||||||
|
# See: https://github.com/YunoHost-Apps/django-for-runners_ynh/issues/15
|
||||||
|
ynh_exec_as $app $final_path/venv/bin/pip install --upgrade --prefer-binary Cython
|
||||||
|
|
||||||
ynh_exec_as $app $final_path/venv/bin/pip install --no-deps --prefer-binary -r "$final_path/requirements.txt"
|
ynh_exec_as $app $final_path/venv/bin/pip install --no-deps --prefer-binary -r "$final_path/requirements.txt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue