{
    "mode": "pydoc",
    "parameter": "_osx_support",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/pydoc/_osx_support/json",
    "generated": "2026-06-02T15:05:49Z",
    "sections": {
        "NAME": {
            "content": "osxsupport - Shared OS X support functions.\n",
            "subsections": []
        },
        "MODULE REFERENCE": {
            "content": "https://docs.python.org/3.10/library/osxsupport.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "compiler_fixup",
                    "content": "This function will strip '-isysroot PATH' and '-arch ARCH' from the\ncompile flags if the user has specified one them in extracompileflags.\n\nThis is needed because '-arch ARCH' adds another architecture to the\nbuild, without a way to remove an architecture. Furthermore GCC will\nbarf if multiple '-isysroot' arguments are present.\n"
                },
                {
                    "name": "customize_compiler",
                    "content": "Customize compiler path and configuration variables.\n\nThis customization is performed when the first\nextension module build is requested\nin distutils.sysconfig.customizecompiler.\n"
                },
                {
                    "name": "customize_config_vars",
                    "content": "Customize Python build configuration variables.\n\nCalled internally from sysconfig with a mutable mapping\ncontaining name/value pairs parsed from the configured\nmakefile used to build this interpreter.  Returns\nthe mapping updated as needed to reflect the environment\nin which the interpreter is running; in the case of\na Python from a binary installer, the installed\nenvironment may be very different from the build\nenvironment, i.e. different OS levels, different\nbuilt tools, different available CPU architectures.\n\nThis customization is performed whenever\ndistutils.sysconfig.getconfigvars() is first\ncalled.  It may be used in environments where no\ncompilers are present, i.e. when installing pure\nPython dists.  Customization of compiler paths\nand detection of unavailable archs is deferred\nuntil the first extension module build is\nrequested (in distutils.sysconfig.customizecompiler).\n\nCurrently called from distutils.sysconfig\n"
                },
                {
                    "name": "get_platform_osx",
                    "content": "Filter values for getplatform()\n"
                }
            ]
        },
        "DATA": {
            "content": "all = ['compilerfixup', 'customizeconfigvars', 'customizecompi...\n",
            "subsections": []
        },
        "FILE": {
            "content": "/usr/lib/python3.10/osxsupport.py\n\n",
            "subsections": []
        }
    },
    "summary": "osxsupport - Shared OS X support functions.",
    "flags": [],
    "examples": [],
    "see_also": []
}