setup.py: version_command instead of static version 19/6219/5
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 25 May 2018 13:57:26 +0000 (15:57 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 1 Jun 2018 08:00:37 +0000 (10:00 +0200)
Change-Id: Ic834da4307fdfeb0c19440e72770e6bc8779b15b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
setup.py

index 2a206b8..3cdb8ad 100644 (file)
--- 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]