From: Benjamin Diaz Date: Tue, 30 Apr 2019 13:20:57 +0000 (-0300) Subject: Adds requests package installation to debian postinst X-Git-Tag: v6.0.0~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F7442%2F1;p=osm%2FPOL.git Adds requests package installation to debian postinst Change-Id: Ibeb270fce9cc0fe546da479a7c34981c4b918329 Signed-off-by: Benjamin Diaz --- 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={