Debian Codegraph @

debian/patches/migrate-from-pkg-resources.patch

raw symbols SCIP
1 Descriptionscip-debian debian python-cluster 1.4.1.post3-2 python-cluster/patches/`migrate-from-pkg-resources.patch`#Description.: migrate over from deprecated pkg_resources
2 Authorscip-debian debian python-cluster 1.4.1.post3-2 python-cluster/patches/`migrate-from-pkg-resources.patch`#Author.: Ananthu C V <weepingclown@debuscip-debian . . . identity/`weepingclown@debu`.>
3 Last-Updatescip-debian debian python-cluster 1.4.1.post3-2 python-cluster/patches/`migrate-from-pkg-resources.patch`#Last-Update.: 2026-05-23
4 --- a/cluster/__init__.pyscip-debian debian python-cluster 1.4.1.post3-2 python-cluster/upstream/`cluster/__init__.py`:
5 +++ b/cluster/__init__.pyscip-debian debian python-cluster 1.4.1.post3-2 python-cluster/upstream/`cluster/__init__.py`:
6 @@ -18,3 +18,3 @@
7
8 -from pkg_resources import resource_string
9 +from importlib.resources import files
10
11 @@ -24,2 +24,2 @@
12
13 -__version__ = resource_string('cluster', 'version.txt').decode('ascii').strip()
14 +__version__ = files('cluster').joinpath('version.txt')