mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Whitespace normalization.
This commit is contained in:
parent
2e8c1f189a
commit
26be2067e8
1 changed files with 6 additions and 6 deletions
|
@ -124,12 +124,12 @@ class MacroExpander:
|
|||
self.set_macro("VSInstallDir", vsbase + r"\Setup\VS", "productdir")
|
||||
net = r"Software\Microsoft\.NETFramework"
|
||||
self.set_macro("FrameworkDir", net, "installroot")
|
||||
try:
|
||||
if version > 7.0:
|
||||
self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv1.1")
|
||||
else:
|
||||
self.set_macro("FrameworkSDKDir", net, "sdkinstallroot")
|
||||
except KeyError, exc: #
|
||||
try:
|
||||
if version > 7.0:
|
||||
self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv1.1")
|
||||
else:
|
||||
self.set_macro("FrameworkSDKDir", net, "sdkinstallroot")
|
||||
except KeyError, exc: #
|
||||
raise DistutilsPlatformError, \
|
||||
("The .NET Framework SDK needs to be installed before "
|
||||
"building extensions for Python.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue