Return the processor architecture. Possible results are "Intel" or "AMD64".
()
| 166 | return None |
| 167 | |
| 168 | def get_build_architecture(): |
| 169 | """Return the processor architecture. |
| 170 | |
| 171 | Possible results are "Intel" or "AMD64". |
| 172 | """ |
| 173 | |
| 174 | prefix = " bit (" |
| 175 | i = sys.version.find(prefix) |
| 176 | if i == -1: |
| 177 | return "Intel" |
| 178 | j = sys.version.find(")", i) |
| 179 | return sys.version[i+len(prefix):j] |
| 180 | |
| 181 | def normalize_and_reduce_paths(paths): |
| 182 | """Return a list of normalized paths with duplicates removed. |