Here are some tips for building Pywin32 for use in Motionbuilder. I’m sure they are just as applicable for Maya and potentially building other python modules. We built pywin32 here over a year ago in a more unsophisticated manner for Maya and Mobu but it worked just the same. I was gonna make a post on that “eventually” but this should help just the same.
Also, have a look at Christians Blog. He has some additional walkthroughs for building Python modules for Maya.