1. Carl Meyer
  2. cpython-site-tests

Commits

Martin von Löwis  committed 51428c3

Change error message to indicate that VS2003 is necessary to build extension modules, not the .NET SDK.

Comments (0)

Files changed (1)

File Lib/distutils/msvccompiler.py Modified

View file
  • Ignore whitespace
  • Hide word diff
                 self.set_macro("FrameworkSDKDir", net, "sdkinstallroot")
         except KeyError, exc: #
             raise DistutilsPlatformError, \
-                  ("The .NET Framework SDK needs to be installed before "
+                  ("Visual Studio 2003 needs to be installed before "
                    "building extensions for Python.")
 
         p = r"Software\Microsoft\NET Framework Setup\Product"