Kaydet (Commit) 77621585 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

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

Fixes #1257728.
üst 1f30c377
...@@ -131,8 +131,10 @@ class MacroExpander: ...@@ -131,8 +131,10 @@ class MacroExpander:
self.set_macro("FrameworkSDKDir", net, "sdkinstallroot") self.set_macro("FrameworkSDKDir", net, "sdkinstallroot")
except KeyError, exc: # except KeyError, exc: #
raise DistutilsPlatformError, \ raise DistutilsPlatformError, \
("Visual Studio 2003 needs to be installed before " ("""Python was built with Visual Studio 2003;
"building extensions for Python.") 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" p = r"Software\Microsoft\NET Framework Setup\Product"
for base in HKEYS: for base in HKEYS:
......
...@@ -220,6 +220,9 @@ Core and builtins ...@@ -220,6 +220,9 @@ Core and builtins
Library Library
------- -------
- Bug #1257728: Mention Cygwin in distutils error message about a missing
VS 2003.
- Patch #1519566: Update turtle demo, make begin_fill idempotent. - Patch #1519566: Update turtle demo, make begin_fill idempotent.
- Bug #1508010: msvccompiler now requires the DISTUTILS_USE_SDK - Bug #1508010: msvccompiler now requires the DISTUTILS_USE_SDK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment