From 2f4fc964a290556d059905a4f6d1c35d3fd680f3 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Fri, 25 May 2018 15:57:26 +0200 Subject: [PATCH] setup.py: version_command instead of static version Change-Id: Ic834da4307fdfeb0c19440e72770e6bc8779b15b Signed-off-by: garciadeblas --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 2a206b8..3cdb8ad 100644 --- a/setup.py +++ b/setup.py @@ -15,8 +15,8 @@ setup( name=_name, description='OSM North Bound Interface', long_description=README, - # version_command=('git describe --tags --long --dirty', 'pep440-git'), - version=VERSION, + version_command=('git describe --tags --long --dirty', 'pep440-git'), + # version=VERSION, # python_requires='>3.5.0', author='ETSI OSM', author_email='alfonso.tiernosepulveda@telefonica.com', @@ -37,7 +37,7 @@ setup( 'CherryPy', 'pymongo', 'jsonschema', 'PyYAML', # 'osm-common', ], - # setup_requires=['setuptools-version-command'], + setup_requires=['setuptools-version-command'], # test_suite='nose.collector', # entry_points=''' # [console_scripts] -- 2.17.1