mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Mention Cygwin in distutils error message about a missing VS 2003.
Fixes #1257728.
This commit is contained in:
parent
1f30c3777c
commit
77621585e4
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue