MCPcopy Index your code
hub / github.com/RustPython/RustPython / get_config_h_filename

Function get_config_h_filename

Lib/sysconfig/__init__.py:467–476  ·  view source on GitHub ↗

Return the path of pyconfig.h.

()

Source from the content-addressed store, hash-verified

465
466
467def get_config_h_filename():
468 """Return the path of pyconfig.h."""
469 if _PYTHON_BUILD:
470 if os.name == "nt":
471 inc_dir = os.path.join(_PROJECT_BASE, 'PC')
472 else:
473 inc_dir = _PROJECT_BASE
474 else:
475 inc_dir = get_path('platinclude')
476 return os.path.join(inc_dir, 'pyconfig.h')
477
478
479def get_scheme_names():

Callers 1

_generate_posix_varsFunction · 0.90

Calls 2

get_pathFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected