()
| 339 | return (not retcode) |
| 340 | |
| 341 | def build_import_library(): |
| 342 | if os.name != 'nt': |
| 343 | return |
| 344 | |
| 345 | arch = get_build_architecture() |
| 346 | if arch == 'AMD64': |
| 347 | return _build_import_library_amd64() |
| 348 | elif arch == 'Intel': |
| 349 | return _build_import_library_x86() |
| 350 | else: |
| 351 | raise ValueError("Unhandled arch %s" % arch) |
| 352 | |
| 353 | def _check_for_import_lib(): |
| 354 | """Check if an import library for the Python runtime already exists.""" |
no test coverage detected