View Single Post
Old 01-10-2021, 08:37 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,374
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Actually, I take it back, I was mis-remembering, calibre doesnt auto-unzip plugin zip files. The plugin has to choose to do that for itself, if it wants to.

And the third party libraries should really be fixed to use the importlib.resources stdlib module to load its resources. Indeed, I dont see how your third party library could possibly be using __file__ from a zip file successfully.

This discussion would be a lot easier with some actual code.
kovidgoyal is offline   Reply With Quote