def distros_for_filename(filename, metadata=None):
    """Yield possible egg or source distribution objects based on a filename"""
    return distros_for_location(
        normalize_path(filename), os.path.basename(filename), metadata
    )
Yield possible egg or source distribution objects based on a filename
product/gradle-plugin/src/main/python/setuptools/package_index.py