X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=setup.py;h=f4c9f0d9810e75663475c2ef49caf55388b3d403;hp=3e17a5af0d7d98522dd24f40027db5ba8c088e37;hb=69b9aeb7db7be601bb631f9ad85924484194ec3c;hpb=a8d63635eecb1c8debab5f674931a453ea39e78d diff --git a/setup.py b/setup.py index 3e17a5a..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,11 +37,10 @@ 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] # osm=osm_nbi.nbi:nbi # ''', ) -