Mention Cygwin in distutils error message about a missing VS 2003.

Fixes #1257728.
This commit is contained in:
Martin v. Löwis 2006-07-30 13:27:31 +00:00
parent 1f30c3777c
commit 77621585e4
2 changed files with 7 additions and 2 deletions

View file

@ -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:

View file

@ -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