Return the path of the Makefile.
()
| 441 | |
| 442 | |
| 443 | def get_makefile_filename(): |
| 444 | """Return the path of the Makefile.""" |
| 445 | if _PYTHON_BUILD: |
| 446 | return os.path.join(_PROJECT_BASE, "Makefile") |
| 447 | if hasattr(sys, 'abiflags'): |
| 448 | config_dir_name = f'config-{_PY_VERSION_SHORT}{sys.abiflags}' |
| 449 | else: |
| 450 | config_dir_name = 'config' |
| 451 | if hasattr(sys.implementation, '_multiarch'): |
| 452 | config_dir_name += f'-{sys.implementation._multiarch}' |
| 453 | return os.path.join(get_path('stdlib'), config_dir_name, 'Makefile') |
| 454 | |
| 455 | |
| 456 | def _get_sysconfigdata_name(): |
no test coverage detected