From: Martin v. Löwis Date: Sun, 30 Jul 2006 13:27:31 +0000 (+0000) Subject: Mention Cygwin in distutils error message about a missing VS 2003. X-Git-Tag: v2.5b3~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77621585e48c7f00a8ce3874d2bc3cb317c0f8eb;p=python Mention Cygwin in distutils error message about a missing VS 2003. Fixes #1257728. --- diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py index c96d527478..0d72837ed3 100644 --- a/Lib/distutils/msvccompiler.py +++ b/Lib/distutils/msvccompiler.py @@ -131,8 +131,10 @@ class MacroExpander: self.set_macro("FrameworkSDKDir", net, "sdkinstallroot") except KeyError, exc: # raise DistutilsPlatformError, \ - ("Visual Studio 2003 needs to be installed before " - "building extensions for Python.") + ("""Python was built with Visual Studio 2003; +extensions must be built with a compiler than can generate compatible binaries. +Visual Studio 2003 was not found on this system. If you have Cygwin installed, +you can try compiling with MingW32, by passing "-c mingw32" to setup.py.""") p = r"Software\Microsoft\NET Framework Setup\Product" for base in HKEYS: diff --git a/Misc/NEWS b/Misc/NEWS index 80d67e2e02..efe6cff1d2 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -220,6 +220,9 @@ Core and builtins Library ------- +- Bug #1257728: Mention Cygwin in distutils error message about a missing + VS 2003. + - Patch #1519566: Update turtle demo, make begin_fill idempotent. - Bug #1508010: msvccompiler now requires the DISTUTILS_USE_SDK