Skip to content

Commit

Permalink
added __version__ attribute (read from _version.py)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBarker-NOAA committed Sep 13, 2024
1 parent ae1dd70 commit fd07c03
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xarray_subset_grid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@
from .selector import Selector

__all__ = ['Selector']

try:
from ._version import __version__
except ImportError:
__version__ = "version_unknown"

0 comments on commit fd07c03

Please sign in to comment.