From: whitequark Date: Wed, 16 Oct 2019 14:24:13 +0000 (+0000) Subject: setup: fix commit 5198d99b. X-Git-Tag: v0.1~13 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=045f5e19a2255a5bf812083e0c3b011f35ab310c;p=nmigen.git setup: fix commit 5198d99b. --- 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")