Thread
:
Plugin dependencies
View Single Post
06-21-2021, 10:27 PM
#
2
kovidgoyal
creator of calibre
Posts: 45,410
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The plugin zip file is added to the sys.path if you do
with self:
import your dependencies here
I dont recall if python is capable of loading whl files from within zip files, probably safer to bundle the deps as ordinary python files.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS