Skip to content

Commit

Permalink
read version from package
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Hellegouarch <[email protected]>
  • Loading branch information
Lawouach committed Apr 9, 2024
1 parent 7067412 commit f6adbf0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion chaostracing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
# -*- coding: utf-8 -*-
__version__ = "0.16.1"
from importlib.metadata import PackageNotFoundError, version

try:
__version__ = version("chaostoolkit-opentracing")
except PackageNotFoundError:
__version__ = "unknown"

0 comments on commit f6adbf0

Please sign in to comment.