mirror of https://github.com/python/cpython
Change error message to indicate that VS2003 is necessary to build extension modules, not the .NET SDK.
This commit is contained in:
parent
8d65681e94
commit
d24d5b3f81
|
@ -131,7 +131,7 @@ class MacroExpander:
|
||||||
self.set_macro("FrameworkSDKDir", net, "sdkinstallroot")
|
self.set_macro("FrameworkSDKDir", net, "sdkinstallroot")
|
||||||
except KeyError, exc: #
|
except KeyError, exc: #
|
||||||
raise DistutilsPlatformError, \
|
raise DistutilsPlatformError, \
|
||||||
("The .NET Framework SDK needs to be installed before "
|
("Visual Studio 2003 needs to be installed before "
|
||||||
"building extensions for Python.")
|
"building extensions for Python.")
|
||||||
|
|
||||||
p = r"Software\Microsoft\NET Framework Setup\Product"
|
p = r"Software\Microsoft\NET Framework Setup\Product"
|
||||||
|
|
Loading…
Reference in New Issue