From b3f024d1e7a0df1ee2ef4a0bb222e52f77e7ee6f Mon Sep 17 00:00:00 2001 From: tierno Date: Tue, 9 Oct 2018 18:20:13 +0200 Subject: [PATCH] change devops stage-build to build from tox Change-Id: I79ebbce5bcab5052dd62f54a716083f10debe2a5 Signed-off-by: tierno --- devops-stages/stage-build.sh | 7 ++++--- setup.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/devops-stages/stage-build.sh b/devops-stages/stage-build.sh index 2e05cd1..538f24f 100755 --- a/devops-stages/stage-build.sh +++ b/devops-stages/stage-build.sh @@ -15,7 +15,8 @@ # moved to a Makefile in order to add post install. Needed for "pip3 install aiokafka", # that is not available with a package -make clean package -#rm -rf deb_dist -#tox -e build +#make clean package + +rm -rf deb_dist +tox -e build diff --git a/setup.py b/setup.py index f116a52..22525b4 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,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, -- 2.25.1