Building calibre for Windows
I modified some of the Calibre code and wanted to build it for Windows.
I read the build instructions on Github and realized that I couldn't meet his requirements. After I checked the forum posts, SOMEONE mentioned that you could compile Python files into PyC and replace the contents of Pylib.zip,But I found that this file is not in the latest version.But after I translated git history, I found that after 5.1, the build was changed to directly add pyC files in binary to python-lib.bypy.frozen.
I wonder if there is a way to generate the python-lib.bypy.frozen file without recompiling all the dependencies (only the modified Python files).
Or how to replace pyc files stored in python-lib.bypy.frozen with your own compiled pyC files.
|