MinGW packages a collection of free Windows specific header files and import libraries combined with GNU toolsets that allows one to produce native Windows programs that do not rely on any 3rd-party C runtime DLLs.
or "Creating Python extensions in C/C++ with SWIG and compiling them with MinGW gcc under Windows" or "Installing Python extension with distutils and without Microsoft Visual C++".