From bd0408d090ef3efbe51d932f6b4337de4f5201d3 Mon Sep 17 00:00:00 2001 From: Steve Moss Date: Thu, 28 Nov 2024 20:01:19 +0000 Subject: [PATCH] Use metadata version for __version__ --- pyensemblrest/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyensemblrest/__init__.py b/pyensemblrest/__init__.py index b290111..df54802 100644 --- a/pyensemblrest/__init__.py +++ b/pyensemblrest/__init__.py @@ -1,8 +1,10 @@ +import importlib.metadata + __author__ = "Steve Moss" __copyright__ = "Copyright (C) 2013-2024, Steve Moss" __credits__ = ["Steve Moss"] __license__ = "GNU GPLv3" -__version__ = "0.0.0" +__version__: str = importlib.metadata.version("pyensemblrest") __maintainer__ = "Steve Moss" __email__ = "gawbul@gmail.com" __status__ = "beta"