...
To get started, first install the mingw-w64 distro package.
Get the Windows Python DLL
...
- Download the latest MSI for x86 or x86_64 from the Python download page.
- Download Install the 7Zip distro package.
- Use 7Zip to extract the MSI contents, and then extract the contents of the 'python' file. For example, for x86:
$ 7z e ../python-2.7.6.msi python && 7z e python *.h python*.dll
- Copy the python DLL and header files somewhere so they may be referenced during the build.
...