You can patch the library.zip, I think, on Windows. On linux everything is in /opt/calibre/lib/python2..7/site-packages/calibre, but unfortunately for patching, there is only *.pyo files there.
You could download the right version from github, patch that, and optimize it (or not), then put that in.
You can also do:
http://manual.calibre-ebook.com/develop.html which is honestly a lot easier.
P.S. If you build from git sources, you can do a:
Code:
python2 setup.py bootstrap # do build, resources, and translations -- plus dependencies
sudo python2 setup.py develop
The re-run the bootstrap whenever changes touch the C++ extensions.
Yes, I do that.
I asked for that bootstrap command, it is fairly new. Up until now, building resources/translations has been a bit mysterious unless you use the versioned tarballs.