(metadata_directory, config_settings)
Invoke optional prepare_metadata_for_build_wheel

    Implements a fallback by building a wheel if the hook isn't defined.
Invoke optional prepare_metadata_for_build_wheel
Invoke optional prepare_metadata_for_build_wheel
def prepare_metadata_for_build_wheel(metadata_directory, config_settings):
    """Invoke optional prepare_metadata_for_build_wheel

    Implements a fallback by building a wheel if the hook isn't defined.
    """
    backend = _build_backend()
    try:
        hook = backend.prepare_metadata_for_build_wheel
    except AttributeError:
        return _get_wheel_metadata_from_wheel(backend, metadata_directory,
                                              config_settings)
    else:
        return hook(metadata_directory, config_settings)
def prepare_metadata_for_build_wheel ( metadata_directory , config_settings ) : backend = _build_backend ( ) try : hook = backend . prepare_metadata_for_build_wheel except AttributeError : return _get_wheel_metadata_from_wheel ( backend , metadata_directory , config_settings ) else : return hook ( metadata_directory , config_settings )