Fixed pip3 dependency for package generation 95/6095/3
authortierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 9 May 2018 14:29:44 +0000 (16:29 +0200)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 9 May 2018 14:47:19 +0000 (16:47 +0200)
Change-Id: Iab3c6b27b26fda5b6fe9aa5f3e36c77f5bcd3f74
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
Makefile
setup.py

index 7567727..47cb93a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ package:
        python3 setup.py --command-packages=stdeb.command sdist_dsc
        cp python3-osm-common.postinst deb_dist/osm-common*/debian
        cd deb_dist/osm-common*/debian && echo "pymongo python3-pymongo" > py3dist-overrides
-       cd deb_dist/osm-common*/debian && echo "pip3 python3-pip"       >> py3dist-overrides
+       cd deb_dist/osm-common*/debian && echo "pip3 python3-pip"       >> py3dist-overrides
        cd deb_dist/osm-common*/  && dpkg-buildpackage -rfakeroot -uc -us
        mkdir -p .build
        cp deb_dist/python3-osm-common*.deb .build/
index 86a7bf1..b72762e 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ VERSION = "4.0.0rc2"
 README = open(os.path.join(here, 'README.rst')).read()
 
 setup(
-    #python_requires='>=3.5',
+    # python_requires='>=3.5',
     name=_name,
     description='OSM common utilities',
     long_description=README,
@@ -22,7 +22,7 @@ setup(
     maintainer_email='alfonso.tiernosepulveda@telefonica.com',
     url='https://osm.etsi.org/gitweb/?p=osm/common.git;a=summary',
     license='Apache 2.0',
-#    setup_requires=['setuptools-version-command'],
+    # setup_requires=['setuptools-version-command'],
 
     packages=[_name],
     include_package_data=True,
@@ -32,6 +32,7 @@ setup(
         'pymongo',
         'aiokafka',
         'PyYAML',
-        'pip3',
+        'pip',
     ],
 )
+