From: garciadeblas Date: Fri, 5 Oct 2018 13:04:10 +0000 (+0200) Subject: Changed version_command in setup.py to add match v* X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F32%2F6632%2F2;p=osm%2Fopenvim.git Changed version_command in setup.py to add match v* Change-Id: Iaf4552f274c84d7aab84ccff1415df6b0f1ab672 Signed-off-by: garciadeblas --- diff --git a/setup.py b/setup.py index 4d4073a..a30048b 100755 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ __scripts__ = ['openflow', 'osm_openvim/scripts/get_dhcp_lease.sh'] setup(name=__name, - version_command=('git describe', 'pep440-git'), + version_command=('git describe --tags --long --dirty --match v*', 'pep440-git-full'), description=__description, long_description=__description, author=__author, diff --git a/setup_lite.py b/setup_lite.py index 7bb1c79..a17ab7a 100755 --- a/setup_lite.py +++ b/setup_lite.py @@ -41,7 +41,7 @@ _req = [ __scripts__ = ['openflow-lib'] setup(name=__name, - version_command=('git describe', 'pep440-git'), + version_command=('git describe --tags --long --dirty --match v*', 'pep440-git-full'), description=__description, long_description=__description, author=__author,