Skip to content

Commit

Permalink
add __version__
Browse files Browse the repository at this point in the history
  • Loading branch information
Georg Schramm authored and Georg Schramm committed Nov 27, 2024
1 parent eefd97a commit c69b784
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pymirc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@
from . import image_operations
from . import metrics
from . import viewer

from importlib.metadata import version, PackageNotFoundError

try:
__version__ = version("pymirc")
except PackageNotFoundError:
__version__ = "unknown"

0 comments on commit c69b784

Please sign in to comment.