(url, metadata=None)
Yield egg or source distribution objects that might be found at a URL
Yield egg or source distribution objects that might be found at a URL
Yield egg or source distribution objects that might be found at a URL
def distros_for_url(url, metadata=None):
    """Yield egg or source distribution objects that might be found at a URL"""
    base, fragment = egg_info_for_url(url)
    for dist in distros_for_location(url, base, metadata):
        yield dist
    if fragment:
        match = EGG_FRAGMENT.match(fragment)
        if match:
            for dist in interpret_distro_name(
                url, match.group(1), metadata, precedence=CHECKOUT_DIST
            ):
                yield dist
def distros_for_url ( url , metadata = None ) : base , fragment = egg_info_for_url ( url ) for dist in distros_for_location ( url , base , metadata ) : yield dist if fragment : match = EGG_FRAGMENT . match ( fragment ) if match : for dist in interpret_distro_name ( url , match . group ( 1 ) , metadata , precedence = CHECKOUT_DIST ) : yield dist