Skip to content

Commit aa2db41

Browse files
committed
Add __vesion__ to package namespace
1 parent 6c9701b commit aa2db41

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/example_fgen_basic/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
"""
22
Example of wrapping Fortran so it can be accessed via Python
33
"""
4+
5+
import importlib.metadata
6+
7+
__version__ = importlib.metadata.version("example_fgen_basic")
8+
9+
__all__ = []

0 commit comments

Comments
 (0)