VisualStudio2005 supported in distutils

"Martin v. Löwis" martin at v.loewis.de
Wed Aug 2 17:40:19 EDT 2006


mg schrieb:
> Unfortunately, distutils does not support VisualStudio2005. I tried to
> modify the file msvccompiler.py without success (this case requires to
> support some changes of the Visual Studio 8 register for both Win32 and
> Win64). So, I wonder if the integration of VisualStudio2005 in distutils
> is scheduled in the Python developments or better, if someone has
> experiences or patch to support VisualStudio2005 in distutils.

You shouldn't attempt to do that. Even if you manage to convince
distutils to use VS 2005 to compile your extension, the resulting
code may crash Python because of obscure incompatibilities between
the compiler that was used to compile Python (VS 2003) and the compiler
that was used to compile the extension (VS 2005).

Whether or not it will actually crash depends on obscure details
of the API that the extension uses.

Regards,
Martin



More information about the Python-list mailing list