We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d69bf04 commit 3218d66Copy full SHA for 3218d66
setuptools/msvc.py
@@ -1048,10 +1048,7 @@ def VCTools(self):
1048
tools += [os.path.join(si.VCInstallDir, path)]
1049
1050
elif self.vs_ver >= 15.0:
1051
- if self.pi.current_cpu in ('x86', 'arm64'):
1052
- host_id = self.pi.current_cpu.upper()
1053
- else:
1054
- host_id = 'X64'
+ host_id = self.pi.current_cpu.replace('amd64', 'x64').upper()
1055
host_dir = os.path.join('bin', f'Host{host_id}%s')
1056
tools += [
1057
os.path.join(si.VCInstallDir, host_dir % self.pi.target_dir(x64=True))
0 commit comments