()
return os.path.join(inc_dir, 'pyconfig.h')
Returns the path of pyconfig.h.
Returns the path of pyconfig.h.
Returns the path of pyconfig . h .
def get_config_h_filename():
    """Returns the path of pyconfig.h."""
    if _PYTHON_BUILD:
        # GCC(mingw): os.name is "nt" but build system is posix
        if os.name == "nt" and sys.version.find('GCC') < 0:
            inc_dir = os.path.join(_PROJECT_BASE, "PC")
        else:
            inc_dir = _PROJECT_BASE
    else:
        inc_dir = get_path('platinclude')
    return os.path.join(inc_dir, 'pyconfig.h')
def get_config_h_filename ( ) : if _PYTHON_BUILD : # GCC(mingw): os.name is "nt" but build system is posix if os . name == "nt" and sys . version . find ( 'GCC' ) < 0 : inc_dir = os . path . join ( _PROJECT_BASE , "PC" ) else : inc_dir = _PROJECT_BASE else : inc_dir = get_path ( 'platinclude' ) return os . path . join ( inc_dir , 'pyconfig.h' )