Import module for use in regex function?
I have a (pip installable) python module I want to use in a Calibre regex function that does not exist in calibre's python environment. I therefore get an error when trying to save the function.
Is it possible to add external modules to calibre's python environment, not for development, but just for use in a custom regex function? IOW, I don't want to run calibre in development mode, I just want to be able to use a module that calibre doesn't have installed.
I've looked through the regex function portion of the manual, and done a bit of searching here, and have not found anything.
|