From f72494004517729569bd770f045708bc422df23c Mon Sep 17 00:00:00 2001 From: tierno Date: Wed, 9 May 2018 16:29:44 +0200 Subject: [PATCH] Fixed pip3 dependency for package generation Change-Id: Iab3c6b27b26fda5b6fe9aa5f3e36c77f5bcd3f74 Signed-off-by: tierno --- Makefile | 2 +- setup.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7567727..47cb93a 100644 --- 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/ diff --git a/setup.py b/setup.py index 86a7bf1..b72762e 100644 --- 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', ], ) + -- 2.25.1