From 1f20170dbe32eb23e5dd1103ae8cb267c41d7b71 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 16 Oct 2019 15:31:26 +0000 Subject: [PATCH] Add __version__ boilerplate. --- nmigen_soc/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nmigen_soc/__init__.py b/nmigen_soc/__init__.py index e69de29..3d136b5 100644 --- a/nmigen_soc/__init__.py +++ b/nmigen_soc/__init__.py @@ -0,0 +1,5 @@ +import pkg_resources +try: + __version__ = pkg_resources.get_distribution(__name__).version +except pkg_resources.DistributionNotFound: + pass -- 2.30.2