From 53ae7d69fac017100bcdae2573d643a28c6a8f84 Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Fri, 5 Jul 2024 17:28:25 +0200 Subject: [PATCH] use importlib instead of pkg_resources via ocrd_utils --- ocrd_cis/ocrd_tool.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ocrd_cis/ocrd_tool.py b/ocrd_cis/ocrd_tool.py index 8cd184fb..0f06e55f 100644 --- a/ocrd_cis/ocrd_tool.py +++ b/ocrd_cis/ocrd_tool.py @@ -1,5 +1,5 @@ import json -from pkg_resources import resource_string +from ocrd_utils import resource_string def get_ocrd_tool(): diff --git a/setup.py b/setup.py index a5e19979..fcdf0a44 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ packages=find_packages(), include_package_data=True, install_requires=[ - 'ocrd>=2.30', + 'ocrd>=2.47', 'click', 'scipy', 'numpy>=1.17.0',