diff --git a/myproject/__init__.py b/myproject/__init__.py index f8e068e..8a0eea9 100644 --- a/myproject/__init__.py +++ b/myproject/__init__.py @@ -1,3 +1,5 @@ """The main module for MyProject.""" -__version__ = "0.1.0" +from importlib.metadata import version + +__version__ = version(__name__)