def check_install_build_global(options, check_options=None):
    if check_options is None:
        check_options = options

    def getname(n):
        return getattr(check_options, n, None)
    names = ["build_options", "global_options", "install_options"]
    if any(map(getname, names)):
        control = options.format_control
        fmt_ctl_no_binary(control)
        warnings.warn(
            'Disabling all use of wheels due to the use of --build-options '
            '/ --global-options / --install-options.', stacklevel=2)


###########
# options #
###########
Disable wheels if per-setup.py call options are set.
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/cmdoptions.py/check_install_build_global