Skip to content

Commit

Permalink
Enable isar.__version__ call
Browse files Browse the repository at this point in the history
  • Loading branch information
aeshub committed Jan 5, 2022
1 parent 62059cb commit ff08e1d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/isar/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from pkg_resources import DistributionNotFound, get_distribution

try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
pass # package is not installed

0 comments on commit ff08e1d

Please sign in to comment.