Browse Source

Test importlib import on travis

upstream/backport/20220103
Ruben Verweij 4 years ago
committed by Lorenzo ZOLFANELLI
parent
commit
ee87f14bcc
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      nd2reader/__init__.py

+ 4
- 4
nd2reader/__init__.py View File

@ -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__)


Loading…
Cancel
Save