The instructions here are for those who want to build pyHook from source (otherwise, you can just use the existing binary release and not worry about any of this).
Once you have all the required software installed, you are ready to build pyHook. First, of course, you have to pull the actual pyHook code. Either get the latest source release, or pull from the CVS repository using your favorite CVS client.
Then, cd to the directory where you stored PyHook source, and run the build command:
python setup.py build -cmingw32
This command will automatically do the following:
Once that is done, you may wish to create a redistributable extension installer executable. To do that, all you need to do is run the following command (still from inside the directory where you stored PyHook code):
python setup.py bdist_wininst
And you are done. You can then use the installer you just generated to install the version of pyHook that you just built.