X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=setup.py;h=f4c9f0d9810e75663475c2ef49caf55388b3d403;hp=2a206b8c9a30010941dca987187b1b8b196a4646;hb=b69fb3ca37645088483959976edbfc7fda66df8d;hpb=2236d203182b39ae5d20d21a475c95f6a5d5fbc5 diff --git a/setup.py b/setup.py index 2a206b8..f4c9f0d 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 --match v* --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]