setup.py: version_command instead of static version

Change-Id: Ic834da4307fdfeb0c19440e72770e6bc8779b15b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/setup.py b/setup.py
index 2a206b8..3cdb8ad 100644
--- a/setup.py
+++ b/setup.py
@@ -15,8 +15,8 @@
     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 @@
         'CherryPy', 'pymongo', 'jsonschema', 'PyYAML',
         # 'osm-common',
     ],
-    # setup_requires=['setuptools-version-command'],
+    setup_requires=['setuptools-version-command'],
     # test_suite='nose.collector',
     # entry_points='''
     #     [console_scripts]