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

Function get_config_h_filename

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

Return the path of pyconfig.h.

()

Source from the content-addressed store, hash-verified

585
586
587def get_config_h_filename():
588 """Return the path of pyconfig.h."""
589 if _PYTHON_BUILD:
590 if os.name == "nt":
591 inc_dir = os.path.join(_PROJECT_BASE, "PC")
592 else:
593 inc_dir = _PROJECT_BASE
594 else:
595 inc_dir = get_path('platinclude')
596 return os.path.join(inc_dir, 'pyconfig.h')
597
598
599def get_scheme_names():

Callers 1

_generate_posix_varsFunction · 0.70

Calls 2

get_pathFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected