View Single Post
Old 06-15-2014, 05:46 AM   #4
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Using 2) is unfortunately not an option since the plugin needs to be able to run without Calibre and 1) is less than ideal.

I suppose 2) could be easier achieved with branches in the repository and constant merging back and forth...

I think I'll go with option 3) and modify the modules to use relative imports, and import from within the packages like this:

Code:
from packages import bs4
Thank you for the answer though Kovid!

Last edited by cryzed; 06-15-2014 at 05:55 AM.
cryzed is offline   Reply With Quote