From ee87f14bcc11b1bb150ced047f92034d49f48ca3 Mon Sep 17 00:00:00 2001 From: Ruben Verweij Date: Sat, 24 Apr 2021 15:31:49 +0200 Subject: [PATCH] Test importlib import on travis --- nd2reader/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nd2reader/__init__.py b/nd2reader/__init__.py index 353176e..14bcdda 100644 --- a/nd2reader/__init__.py +++ b/nd2reader/__init__.py @@ -2,10 +2,10 @@ from os import path from nd2reader.reader import ND2Reader from nd2reader.legacy import Nd2 -try: - import importlib.metadata as importlib_metadata -except: - import importlib_metadata +#try: +import importlib.metadata as importlib_metadata +#except: +# import importlib_metadata try: __version__ = importlib_metadata.version(__name__)