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