Python Libraries included in Plugin?
Hi,
cryzed has started helping me with the FFDL plugin and would really like to use current versions of BeautifulSoup4 and html5lib.
What is the appropriate way to include libraries in a plugin?
While including the packages in the plugin zip and manipulating sys.path directly to include the dir inside the plugin zip appears to work, it seems to me that is likely to conflict with calibre and/or other plugins at some point.
I know calibre already has versions of html5lib and BeautifulSoup, but neither is current. FFDL has always included its own BeautifulSoup, but it wasn't a packaged library then.
Any help you can offer would be appreciated.
Thanks.
|