MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / get_makefile_filename

Function get_makefile_filename

tools/python-3.11.9-amd64/Lib/sysconfig.py:443–453  ·  view source on GitHub ↗

Return the path of the Makefile.

()

Source from the content-addressed store, hash-verified

441
442
443def 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
456def _get_sysconfigdata_name():

Callers 2

_generate_posix_varsFunction · 0.70
get_config_varsFunction · 0.70

Calls 2

get_pathFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected