From: magnussonl Date: Thu, 2 Jul 2020 17:39:15 +0000 (+0200) Subject: _version_command fixed in setup.py X-Git-Tag: v7.1.4~1 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FPLA.git;a=commitdiff_plain;h=41cccfa5ebc6396c2b3c43f20fc036d0fcfb2fcc _version_command fixed in setup.py Change-Id: I48b236319284361690f02b1891df52551cba3e86 Signed-off-by: magnussonl --- 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,