Skip to content

Commit

Permalink
Find version in dunder init
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sol committed Dec 21, 2023
1 parent c31e0f7 commit c501265
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/fmu/sumo/sim2sumo/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
try:
from ._version import version

__version__ = version
except ImportError:
__version__ = "0.0.0"

0 comments on commit c501265

Please sign in to comment.