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 84b7b2a commit 0a4f350Copy full SHA for 0a4f350
setuptools/msvc.py
@@ -1024,6 +1024,16 @@ def VCTools(self):
1024
------
1025
list of str
1026
paths
1027
+
1028
+ When host CPU is ARM, the tools should be found for ARM.
1029
1030
+ >>> getfixture('windows_only')
1031
+ >>> mp = getfixture('monkeypatch')
1032
+ >>> mp.setattr(PlatformInfo, 'current_cpu', 'arm64')
1033
+ >>> ei = EnvironmentInfo(arch='irrelevant')
1034
+ >>> paths = ei.VCTools
1035
+ >>> any('HostARM64' in path for path in paths)
1036
+ True
1037
"""
1038
si = self.si
1039
tools = [os.path.join(si.VCInstallDir, 'VCPackages')]
0 commit comments