To build C extensions with distutils:
1. Open [python root]/Lib/distutils/ and replace msvccompiler.py with this one: attachment:msvccompiler.py
2. Run this .bat file: attachment:setup.bat
- Note that you may have to change the paths in the .bat to reflect those on your machine.