From a820a38ba3dc55b53c3727fc6ece9bc09e815627 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 16 Oct 2019 14:24:13 +0000 Subject: [PATCH] setup: fix commit 5198d99b. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index f769b27..e904911 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages def scm_version(): def local_scheme(version): - if version.tag: + if version.tag and not version.distance: return version.format_with("") else: return version.format_choice("+{node}", "+{node}.dirty") -- 2.30.2