Skip to content

Commit

Permalink
Merge pull request #210 from pysat/improved_init
Browse files Browse the repository at this point in the history
Improved init
  • Loading branch information
aburrell committed Oct 5, 2023
2 parents 4afe2e6 + 4044864 commit 807d60d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
* REACH Dosimeter
* Bug Fix
* New window needs to be integer for calculate_imf_steadiness
* Fixed version import
* Documentation
* Added example of how to export data for archival
* Maintenance
Expand Down
13 changes: 5 additions & 8 deletions pysatNASA/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,12 @@
"""

import importlib
import importlib_metadata
try:
from importlib import metadata
except ImportError:
import importlib_metadata as metadata

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

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

0 comments on commit 807d60d

Please sign in to comment.