[Distutils] Building Python extensions on 64-bit Windows using the SDK compilers

Allen Riddell abr at ariddell.org
Wed Sep 24 03:19:25 CEST 2014


Hi Paul,

I don't know how Olivier Grisel did it, but I can testify it does build
extensions for Windows (32bit and 64bit) using appveyor.

https://github.com/ogrisel/python-appveyor-demo/

Best wishes,

Allen

On Tue, Sep 23, 2014, at 06:42 PM, Paul Moore wrote:
> Can anyone give me some advice, please? I am trying to build
> extensions on Windows 64-bit, using the free Windows SDK compilers.
> But I can't find any official documentation on how to do this, and
> everything I have tried so far has failed in frustrating ways. I'm now
> at the point where I appear to be hitting the following bug -
> http://bugs.python.org/issue7511 which has stumped me completely.
> Sadly, as is typical with distutils issues, this one seems to have
> been round for years and there is little or no sign that anyone is
> willing to fix it.
> 
> Two questions, really:
> 
> * Is there any intention that building extensions with the SDK
> compilers is supported?
> * How do I do it, if so?
> 
> Personally, this is of limited relevance, as I have the full version
> of MSVC available. But I'm trying to put together some documentation
> for package developers on how to build Windows wheels, in particular
> using Appveyor to automate the process, with the intention that people
> shouldn't have to jump through hoops to provide wheels, but should
> rather be able to simply use a prebuilt recipe to automate the
> process.
> 
> As an alternative, I wonder whether Microsoft would be willing to
> support Appveyor by providing them with access to the full version of
> MSVC (2008 and 2010) for the build workers? Steve - do you know if
> there's any possibility of something like that?
> 
> Paul
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig


More information about the Distutils-SIG mailing list