From: garciadeblas Date: Fri, 25 May 2018 13:57:26 +0000 (+0200) Subject: setup.py: version_command instead of static version X-Git-Tag: v4.0.1~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=2f4fc964a290556d059905a4f6d1c35d3fd680f3;p=osm%2FNBI.git setup.py: version_command instead of static version Change-Id: Ic834da4307fdfeb0c19440e72770e6bc8779b15b Signed-off-by: garciadeblas --- 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]