From 6da808d6d6786548c148920a9cb21fa470e8ed2e Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 27 Apr 2016 09:06:43 +0200 Subject: [PATCH] [mod] uses ynh pkg list (without lxml) --- scripts/upgrade | 2 +- sources/requirements-ynh.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 sources/requirements-ynh.txt diff --git a/scripts/upgrade b/scripts/upgrade index e2f44aa..5d39d2f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,7 +38,7 @@ fi final_path=/opt/yunohost/searx sudo cp -r ../sources/* $final_path -sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt --upgrade && $final_path/manage.sh update_packages" +sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements-ynh.txt --upgrade && $final_path/manage.sh update_packages" # Disable swapfile if [[ -v "$tmp_swap_file" ]]; diff --git a/sources/requirements-ynh.txt b/sources/requirements-ynh.txt new file mode 100644 index 0000000..70f7839 --- /dev/null +++ b/sources/requirements-ynh.txt @@ -0,0 +1,12 @@ +certifi==2015.11.20.1 +flask==0.10.1 +flask-babel==0.9 +# lxml==3.5.0 +ndg-httpsclient==0.4.0 +pyasn1==0.1.9 +pyasn1-modules==0.0.8 +pygments==2.0.2 +pyopenssl==0.15.1 +python-dateutil==2.4.2 +pyyaml==3.11 +requests==2.9.1