VisualStudio2005 supported in distutils

"Martin v. Löwis" martin at v.loewis.de
Mon Aug 7 08:00:06 EDT 2006


Jarek Zgoda schrieb:
> Sure, but what if I succesfully compile Python with VS 2005? Hier ist
> der Hund begraben, distutils cann't handle this compiler so I'll be
> unable to compile any extension for my home-baken Python.

It sure can. Just open a "Visual Studio Command Prompt" (or whatever
its name), and make sure MSSdk and DISTUTILS_USE_SDK are both set.
Then distutils will use the compiler from PATH, rather than the
pre-configured one.

Regards,
Martin



More information about the Python-list mailing list