porting plugin to python3 help
Hello. I was looking into porting the Xray-creator plugin to python3. So far I have only tried to edit an import in it's ui.py file, that imports the now renamed httplib. I downloaded the plugin, unzipped it and changed that single line of code. Despite the minor change, when I try to load the plugin from file it now says:
calibre.customize.InvalidPlugin: The plugin in '/home/username/Downloads/xray_creator_calibre_plugin_3_2_1.zip' is invalid. It does not contain a top-level __init__.py file
even though the plugin clearly contains one, and when I try to load the original plugin it does not give such error.
What could I possibly be missing?
|