[Python-checkins] r50980 - in python/branches/release24-maint: Lib/distutils/msvccompiler.py Misc/NEWS
martin.v.loewis
python-checkins at python.org
Sun Jul 30 15:31:21 CEST 2006
Author: martin.v.loewis
Date: Sun Jul 30 15:31:20 2006
New Revision: 50980
Modified:
python/branches/release24-maint/Lib/distutils/msvccompiler.py
python/branches/release24-maint/Misc/NEWS
Log:
Complain about missing VS 2003 in the error message
of msvccompiler, and mention Cygwin as an alternative.
Fixes #1257728.
Modified: python/branches/release24-maint/Lib/distutils/msvccompiler.py
==============================================================================
--- python/branches/release24-maint/Lib/distutils/msvccompiler.py (original)
+++ python/branches/release24-maint/Lib/distutils/msvccompiler.py Sun Jul 30 15:31:20 2006
@@ -131,8 +131,10 @@
self.set_macro("FrameworkSDKDir", net, "sdkinstallroot")
except KeyError, exc: #
raise DistutilsPlatformError, \
- ("The .NET Framework SDK 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:
Modified: python/branches/release24-maint/Misc/NEWS
==============================================================================
--- python/branches/release24-maint/Misc/NEWS (original)
+++ python/branches/release24-maint/Misc/NEWS Sun Jul 30 15:31:20 2006
@@ -67,6 +67,9 @@
Library
-------
+- Bug #1257728: Complain about missing VS 2003 in the error message
+ of msvccompiler, and mention Cygwin as an alternative.
+
- Bug #1002398: The documentation for os.path.sameopenfile now correctly
refers to file descriptors, not file objects.
More information about the Python-checkins
mailing list