Skip to content

Commit 9b13823

Browse files
committed
Use PEP 621 pattern
1 parent 2130587 commit 9b13823

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

zoo_runner_common/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@
1515
"ZooStub",
1616
]
1717

18-
__version__ = "0.1.1"
18+
try:
19+
from importlib.metadata import version
20+
__version__ = version("zoo-runner-common")
21+
except Exception:
22+
__version__ = "unknown"

0 commit comments

Comments
 (0)