From f4f13e1e663b0b68276ce9a6c314a3ec6ae5df29 Mon Sep 17 00:00:00 2001 From: Benjamin Diaz Date: Tue, 30 Apr 2019 10:20:57 -0300 Subject: [PATCH] Adds requests package installation to debian postinst Change-Id: Ibeb270fce9cc0fe546da479a7c34981c4b918329 Signed-off-by: Benjamin Diaz --- debian/python3-osm-policy-module.postinst | 1 + requirements.txt | 2 +- setup.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/python3-osm-policy-module.postinst b/debian/python3-osm-policy-module.postinst index fe73f0b..20f87d8 100644 --- a/debian/python3-osm-policy-module.postinst +++ b/debian/python3-osm-policy-module.postinst @@ -29,4 +29,5 @@ pip3 install jsonschema==2.6.* pip3 install pyyaml==3.* pip3 install pymysql pip3 install peewee-migrate==1.1.* +pip3 install requests==2.* echo "Installation of python dependencies finished" \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index b31d0b0..3d22bdf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,5 +4,5 @@ jsonschema==2.6.* pyyaml==3.* pymysql==0.9.* peewee-migrate==1.1.* -requests +requests==2.* git+https://osm.etsi.org/gerrit/osm/common.git@v5.0#egg=osm-common diff --git a/setup.py b/setup.py index fc11bf0..5b3bcb1 100644 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ setup( "pyyaml==3.*", "pymysql", "peewee-migrate==1.1.*", + "requests==2.*", "osm-common", ], entry_points={ -- 2.17.1