def METHOD_NAME(self, location: str) -> Iterator[FoundResult]:
    """Find distributions in a location."""
    # Skip looking inside a wheel. Since a package inside a wheel is not
    # always valid (due to .data directories etc.), its .dist-info entry
    # should not be considered an installed distribution.
    if _looks_like_wheel(location):
        return
    # To know exactly where we find a distribution, we have to feed in the
    # paths one by one, instead of dumping the list to importlib.metadata.
    for dist in importlib.metadata.distributions(path=[location]):
        info_location = get_info_location(dist)
        try:
            raw_name = get_dist_name(dist)
        except BadMetadata as e:
            logger.warning("Skipping %s due to %s", info_location, e.reason)
            continue
        normalized_name = canonicalize_name(raw_name)
        if normalized_name in self._found_names:
            continue
        self._found_names.add(normalized_name)
        yield dist, info_location