To build C extensions with distutils:

1. Open [python root]/Lib/distutils/ and replace msvccompiler.py with this one: attachment:msvccompiler.py

2. Run vcvarsall.bat