From 41cccfa5ebc6396c2b3c43f20fc036d0fcfb2fcc Mon Sep 17 00:00:00 2001 From: magnussonl Date: Thu, 2 Jul 2020 19:39:15 +0200 Subject: [PATCH] _version_command fixed in setup.py Change-Id: I48b236319284361690f02b1891df52551cba3e86 Signed-off-by: magnussonl --- setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 97658f1..91f554c 100755 --- a/setup.py +++ b/setup.py @@ -21,8 +21,7 @@ def parse_requirements(requirements): _name = 'osm_pla' -# _version_command = ('git describe --match v* --tags --long --dirty', 'pep440-git-full') FIXME we have no tags yet -_version = '0.0.1' # FIXME temporary workaround for _version_command +_version_command = ('git describe --match v* --tags --long --dirty', 'pep440-git-full') _description = 'OSM Placement Module' _author = "Lars Goran Magnusson" _author_email = 'lars-goran.magnusson@arctoslabs.com' @@ -34,8 +33,7 @@ _url = 'https://osm.etsi.org/gitweb?p=osm/PLA.git;a=tree' setup( name=_name, - # version_command=_version_command, FIXME temporary fix - version=_version, + version_command=_version_command, description=_description, long_description=open('README.md', encoding='utf-8').read(), author=_author, -- 2.25.1