That would work but the Sigil.cfg would have to match the current Sigil, dll locations, etc and unzipped epub (to select html files), but other than that the interface was designed to be run in a subprocess and results passed back in xml and stored updated files.
Not sure about any "build cycle" as this is python which can be run as is.
I personally find that logic errors are better found by studying the source (a follower of Linus's many eyes club) and normally stay far away from debuggers since python generates its own traceback stacks), but to each his or her own.
Glad you have something that works for you.
|