[Python-Dev] Building Extensions for Python 3.5 on Windows

Oscar Benjamin oscar.j.benjamin at gmail.com
Tue Sep 1 16:47:19 CEST 2015


On 26 August 2015 at 17:14, Steve Dower <steve.dower at python.org> wrote:
>> On 8/25/2015 2:17 PM, Steve Dower wrote:
>>>
>>> I've written up a long technical blog post about the compiler and CRT
>>> changes in Python 3.5, which will be of interest to those who build and
>>> distribute native extensions for Windows.
>>>
>>> http://stevedower.id.au/blog/building-for-python-3-5/
>>>
>
> * MinGW walkthrough for building extensions via distutils or directly (I'll
> need some help with this one)

Thanks for the detailed writeup Steve. Do you know how these changes
to the python.org Windows binaries would impact on people building
extension modules with MinGW?

I think that some extension module authors use MinGW for their Windows
binaries because then a single compiler installation can compile for
multiple Python versions and link against whichever msvcrtXX.dll is
needed. For example in the numpy release notes [1]:
"The MinGW compilers used to build the official Numpy binary
installers for 32-bit Python on Windows can be found in
https://github.com/numpy/numpy-vendor."

Perhaps it would be good to verify that the numpy MinGW build
instructions still work?

[1] https://github.com/numpy/numpy/blob/master/INSTALL.txt#L118

--
Oscar


More information about the Python-Dev mailing list