From 519c13c8d03d5c13be9b8d7cf72a551a821d8e04 Mon Sep 17 00:00:00 2001 From: Liz Gehret Date: Thu, 19 Dec 2024 15:39:15 -0700 Subject: [PATCH] version --- q2_sapienns/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/q2_sapienns/__init__.py b/q2_sapienns/__init__.py index 7c1190e..8777338 100644 --- a/q2_sapienns/__init__.py +++ b/q2_sapienns/__init__.py @@ -8,8 +8,10 @@ # flake8: noqa -from . import _version -__version__ = _version.get_versions()['version'] +try: + from ._version import __version__ +except ModuleNotFoundError: + __version__ = '0.0.0+notfound' from .plugin_setup import ( HumannGeneFamilyDirectoryFormat, HumannGeneFamilyFormat,