Windows Toolchains for compiling Python extension with MingW-W64

Four dedicated native MingW-W64 based toolchains for both 32 bit and 64 bit architectures. The main objective of these toolchains is the usage as a convinient build tool for Python extensions for the standard MSVC based Windows Python distributions. Supported Python versions are: 2.6, 2.7, 3.2, 3.3, 3.4.





mingwpy x86-64 toolchain (64 bit)

python2.6-3.2: mingwpy_amd64_vc90.tar.xz or mingwpy_amd64_vc90.7z
python3.3-3.4: mingwpy_amd64_vc100.tar.xz or mingwpy_amd64_vc100.7z

mingwpy i686 toolchain (32 bit)

python2.6-3.2: mingwpy_win32_vc90.tar.xz or mingwpy_win32_vc90.7z
python3.3-3.4: mingwpy_win32_vc100.tar.xz or mingwpy_win32_vc100.7z



Download and Install

  1. download and install the appropriate toochain (s. above) for your python installation and make sure it is added to your PATH environmanr variable.
  2. download the appropriate import libraries and copy the import libraries into the libs folder of your Python installation: