Skip to content

Commit

Permalink
Add version flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshpinto committed Jan 13, 2024
1 parent 2f877e8 commit c2a09b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions qudi_hira_analysis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@
"""

from ._version import __version__ # noqa: F401
from .analysis_logic import AnalysisLogic, FitMethodsAndEstimators
from .data_handler import DataHandler
from .io_handler import IOHandler
Expand Down
6 changes: 6 additions & 0 deletions qudi_hira_analysis/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import importlib.metadata

try:
__version__ = importlib.metadata.version("qudi_hira_analysis")
except importlib.metadata.PackageNotFoundError:
__version__ = "unknown"

0 comments on commit c2a09b3

Please sign in to comment.