From a3886fe880b0334f6b8c202c3ead91c5596dc018 Mon Sep 17 00:00:00 2001 From: Panos Mavrogiorgos Date: Wed, 4 Dec 2024 21:09:14 +0200 Subject: [PATCH] feat: Add __version__ --- seastats/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seastats/__init__.py b/seastats/__init__.py index 3f8a831..98d303a 100644 --- a/seastats/__init__.py +++ b/seastats/__init__.py @@ -1,5 +1,6 @@ from __future__ import annotations +import importlib.metadata import logging from collections.abc import Sequence @@ -23,6 +24,7 @@ from seastats.stats import get_slope_intercept_pp from seastats.storms import match_extremes +__version__ = importlib.metadata.version(__name__) __all__ = [ "align_ts", "GENERAL_METRICS",