Skip to content

Commit

Permalink
handle when local EasyApp module is used
Browse files Browse the repository at this point in the history
  • Loading branch information
andped10 committed Aug 5, 2024
1 parent ad0bcab commit df04a2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/EasyApp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import importlib.metadata

# Set package version
__version__ = importlib.metadata.version("EasyApp")
try:
__version__ = importlib.metadata.version("EasyApp")
except ImportError:
__version__ = "development"

0 comments on commit df04a2e

Please sign in to comment.