Description: migrate over from deprecated pkg_resources Author: Ananthu C V Last-Update: 2026-05-23 --- a/cluster/__init__.py +++ b/cluster/__init__.py @@ -18,3 +18,3 @@ -from pkg_resources import resource_string +from importlib.resources import files @@ -24,2 +24,2 @@ -__version__ = resource_string('cluster', 'version.txt').decode('ascii').strip() +__version__ = files('cluster').joinpath('version.txt')