Quote:
Originally Posted by chrisric
Anyway, I normally clone the repo, make the changes and then make the zip and import a new plugin.
Is there a quicker way to test changes/new adapters?
|
Quote:
Originally Posted by JimmXinu
I use a batch file that creates the zip then installs it with "calibre-customize -a FanFicFare.zip" and starts Calibre
In practice, I don't think there are many users running their own code. 
|
As a learning experiment, I've been working on creating adapters for a couple of unsupported sites that I read.
What I do is update the FanFicFare.zip file currently in use. The specific steps are:
Browse to \fanficfare\adapters\ within the zip file
Copy __init__.py out of the zip file
Edit __init__.py to load my adapter(s)
Copy __init__.py and my adapter file(s) into the zip file
Restart Calibre
The above steps have to be repeated each time you update the plugin, but otherwise changes to your adapter just require copying the new adapter file into the zip file and restarting Calibre.
I don't know if that's quicker than what you do, but I find it pretty simple.
Also, if your adapter file breaks the plugin, backing out is as simple as removing your adapters from the __init__.py file and restarting Calibre.
- Andrew