Fix setup.py and stdeb.cfg requirements: python-magic
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 19 Apr 2018 10:12:17 +0000 (12:12 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 19 Apr 2018 10:39:53 +0000 (12:39 +0200)
Change-Id: I3a09df124ba2cb8ab386507b7298730170e6857e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Dockerfile
setup.py
stdeb.cfg

index b7a8a91..767d3f8 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
+    debhelper python-setuptools python-all apt-utils python-magic
index 25a397c..8109b9f 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', 'python-magic'
+        'Click', 'prettytable', 'pyyaml', 'pycurl'
     ],
     setup_requires=['setuptools-version-command'],
     test_suite='nose.collector',
index 7d0b3d7..99da12e 100644 (file)
--- a/stdeb.cfg
+++ b/stdeb.cfg
@@ -1,2 +1,2 @@
 [DEFAULT]
-Depends: python-setuptools, python-pycurl, python-click, python-prettytable, python-yaml
+Depends: python-setuptools, python-pycurl, python-click, python-prettytable, python-yaml, python-magic