Commit 4742d661 authored by Jason R. Coombs's avatar Jason R. Coombs

Extract variable for bin_dir

parent e404a4aa
......@@ -931,8 +931,8 @@ class EnvironmentInfo:
"""
Microsoft Windows SDK Tools
"""
tools = [os.path.join(self.si.WindowsSdkDir,
'Bin' if self.vc_ver <= 11.0 else r'Bin\x86')]
bin_dir = 'Bin' if self.vc_ver <= 11.0 else r'Bin\x86'
tools = [os.path.join(self.si.WindowsSdkDir, bin_dir)]
if not self.pi.current_is_x86():
arch_subdir = self.pi.current_dir(x64=True)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment