()
| 91 | return "%s-%s-%s" % (osname, release, machine) |
| 92 | |
| 93 | def get_platform(): |
| 94 | if os.name == 'nt': |
| 95 | TARGET_TO_PLAT = { |
| 96 | 'x86' : 'win32', |
| 97 | 'x64' : 'win-amd64', |
| 98 | 'arm' : 'win-arm32', |
| 99 | } |
| 100 | return TARGET_TO_PLAT.get(os.environ.get('VSCMD_ARG_TGT_ARCH')) or get_host_platform() |
| 101 | else: |
| 102 | return get_host_platform() |
| 103 | |
| 104 | |
| 105 | # Needed by 'split_quoted()' |
nothing calls this directly
no test coverage detected
searching dependent graphs…