Adds requests package installation to debian postinst 42/7442/1 feature7106
authorBenjamin Diaz <bdiaz@whitestack.com>
Tue, 30 Apr 2019 13:20:57 +0000 (10:20 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Tue, 30 Apr 2019 13:20:57 +0000 (10:20 -0300)
Change-Id: Ibeb270fce9cc0fe546da479a7c34981c4b918329
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
debian/python3-osm-policy-module.postinst
requirements.txt
setup.py

index fe73f0b..20f87d8 100644 (file)
@@ -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
index b31d0b0..3d22bdf 100644 (file)
@@ -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
index fc11bf0..5b3bcb1 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -54,6 +54,7 @@ setup(
         "pyyaml==3.*",
         "pymysql",
         "peewee-migrate==1.1.*",
+        "requests==2.*",
         "osm-common",
     ],
     entry_points={