Skip to content

Commit

Permalink
Merge pull request #110 from boutproject/fix-boututils-version
Browse files Browse the repository at this point in the history
Fix finding version for `boututils`
  • Loading branch information
ZedThree authored Sep 26, 2024
2 parents e458cf0 + 094e22c commit 28e3549
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/boututils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
""" Generic routines, useful for all data """

__all__ = []
__name__ = "boututils"

from importlib.metadata import PackageNotFoundError, version

try:
# This gives the version if the boututils package was installed
__version__ = version(__name__)
__version__ = version("boutdata")
except PackageNotFoundError:
# This branch handles the case when boututils is used from the git repo
try:
Expand Down

0 comments on commit 28e3549

Please sign in to comment.