Skip to content

Commit

Permalink
use importlib instead of pkg_resources via ocrd_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Jul 5, 2024
1 parent 842b4c2 commit 53ae7d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ocrd_cis/ocrd_tool.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import json
from pkg_resources import resource_string
from ocrd_utils import resource_string


def get_ocrd_tool():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 53ae7d6

Please sign in to comment.