From 0892d54e744c104afce3d833410f43e8fcdb7fb3 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Fri, 5 Oct 2018 15:04:10 +0200 Subject: [PATCH] Changed version_command in setup.py to add match v* Change-Id: Iaf4552f274c84d7aab84ccff1415df6b0f1ab672 Signed-off-by: garciadeblas --- setup.py | 2 +- setup_lite.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, -- 2.25.1