Insert setuptools plugins with ocrmypdf prefix

This commit is contained in:
James R. Barlow
2021-01-24 23:42:09 -08:00
parent 084610c242
commit f559316881
+2
View File
@@ -82,6 +82,8 @@ def _setup_plugins(
module = importlib.import_module(name)
pm.register(module)
pm.load_setuptools_entrypoints('ocrmypdf')
def get_plugin_manager(plugins: List[Union[str, Path]], builtins=True):
pm = OcrmypdfPluginManager(