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