[Python-Dev] Status of C compilers for Python on Windows

Rafael Villar Burke pachi at rvburke.com
Fri Oct 10 13:49:54 CEST 2014


Victor Stinner <victor.stinner <at> gmail.com> writes:

> 
> Hi,
> 
> Windows is not the primary target of Python developers, probably
> because most of them work on Linux. Official Python binaries are
> currently built by Microsoft Visual Studio. Even if Python developers
> get free licenses thanks for Microsoft, I would prefer to use an open
> source compiler if it would be possible.
> 
> === Other compilers?
> 

I'm happily using MSYS2 (sourceforge.net/projects/msys2/), which handles
Python and many Python and GNOME related projects using the mingw64 compiler
(which can target 32 and 64 bit).

MSYS2 provides a POSIX like environment to build native applications on
windows (using the win32 api). It features a source level package manager,
pacman, ported from ArchLinux, so lots of *nix applications and libraries
are available (see https://github.com/Alexpux/MINGW-packages and also
https://github.com/Alexpux/MSYS2-packages/ for core libs and apps).

I've used it with success in apps that use Python + GTK+3 + Numpy + SciPy +
Matplotlib.

Hope this information is useful.

Regards,

Rafael



More information about the Python-Dev mailing list