Ey,The package python-rapidocr can use one of six runtimes, three of which are packaged (in either the extra or AUR). It has a config file—that my package currently installs to /site-packages/rapidocr/config.yaml—that specifies (along other things) which runtime should be used. By default, it specifies onnxruntime. It fails to execute (or check(), consequently) without a runtime installed.
1. What should I do to address this? Should I make onnxruntime a required dependency, even though users could e.g. install openvino and configure rapidocr to use that instead, in which case onnxruntime is unneeded? That's what yt-dlp-ejs—the only analogue I know—does, but I hesitate to follow it.
2. Just to confirm, I should move config.yaml to /etc/rapidocr/config.yaml and symlink the site-packages... path to there, right?
-- Cheers, Aᴀʀᴏɴ
OpenPGP_0xCBC3973CD9FC6A16.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
