Fix issues with python-magic pip library
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 19 Apr 2018 13:42:09 +0000 (15:42 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 19 Apr 2018 13:42:09 +0000 (15:42 +0200)
Change-Id: Ib092e14ba1255de7711fdffe00bdbc4dd9cf4620
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Dockerfile
setup.py
stdeb.cfg

index 767d3f8..b7a8a91 100644 (file)
@@ -2,4 +2,4 @@ FROM ubuntu:16.04
 
 RUN apt-get update && apt-get -y install git make python python3 \
     libcurl4-gnutls-dev libgnutls-dev tox python-dev python3-dev \
-    debhelper python-setuptools python-all apt-utils python-magic
+    debhelper python-setuptools python-all apt-utils
index 8109b9f..25a397c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ setup(
     packages=find_packages(),
     include_package_data=True,
     install_requires=[
-        'Click', 'prettytable', 'pyyaml', 'pycurl'
+        'Click', 'prettytable', 'pyyaml', 'pycurl', 'python-magic'
     ],
     setup_requires=['setuptools-version-command'],
     test_suite='nose.collector',
index 99da12e..7d0b3d7 100644 (file)
--- a/stdeb.cfg
+++ b/stdeb.cfg
@@ -1,2 +1,2 @@
 [DEFAULT]
-Depends: python-setuptools, python-pycurl, python-click, python-prettytable, python-yaml, python-magic
+Depends: python-setuptools, python-pycurl, python-click, python-prettytable, python-yaml