Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jklenzing committed May 18, 2023
1 parent f554299 commit edd0c41
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pysatNASA/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
"""

import importlib
import importlib_metadata

from pysatNASA import constellations # noqa F401
from pysatNASA import instruments # noqa F401

# set version
__version__ = importlib.metadata.version('pysatNASA')
try:
__version__ = importlib.metadata.version('pysatNASA')
except AttributeError:
# Python 3.6 requires a different version
__version__ = importlib_metadata.version('pysatNASA')

0 comments on commit edd0c41

Please sign in to comment.