Quote:
Originally Posted by mx400
i just cloned the project from the github page but i'm struggling the get all the dependencies right. What would be the correct stepts to set it up for adding support to a new site?
|
I honestly haven't set up a new dev dir in years. Let's see...
There's a makeplugin.py file to make the plugin zip, so you need python CLI to run that, and I believe that script needs the package six installed (using pip).
Then to install the plugin, run
calibre-customize -a FanFicFare.zip.
To run as CLI in your dev dir, I'd:
- Install the fanficfare package (with pip) to insure all the deps are installed.
- set env var PYTHONPATH=. (or to your dev dir)
- Run fanficfare\cli.py -d
Advanced option: the CLI has a developer option
--save-cache, if you also have
use_basic_cache:true for your new site, then the CLI will save the cached pages so you can run tests over and over without hitting the server again.