I'm trying to rebuild the pyhook libary as described in this answer here.
Basically, I need to change a few lines of the C code for the pyhook module.
The problem is I don't know how to access the C code or how to rebuild the libary.
I've heard of Cython but I don't understand it and I don't know how to use it.
Also, I would like the solution to be compatible with py2exe.