From: whitequark Date: Mon, 19 Aug 2019 23:14:41 +0000 (+0000) Subject: Fix nmigen.__version__ to work on git-archive artifacts. X-Git-Tag: locally_working~15 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ca29a574875375377a6016e652f3be5790828ed;p=nmigen.git Fix nmigen.__version__ to work on git-archive artifacts. Fixes #137. --- diff --git a/nmigen/__init__.py b/nmigen/__init__.py index d2aa2ba..9aef903 100644 --- a/nmigen/__init__.py +++ b/nmigen/__init__.py @@ -1,5 +1,5 @@ from ._version import get_versions -__version__ = get_versions()['version'] +__version__ = get_versions()["full-revisionid"] del get_versions from .hdl import *