{a d dl Z d dlZd dlZd dlZd dlmZmZmZmZ d dl m
Z
d dlmZ d dl
mZmZ d dlmZ e j e Zee
Zee Zeegee
f Zeegef Z G d d Zd ed
efdZ G d d
e Z G d de Z G d de Z G d de Z dededededed
eee ee f fdZ!dS ) N)CallableIterableOptionalTuple)InstallationCandidate)Link)path_to_urlurl_to_path)is_urlc N e Zd Zedee fd ZdefdZde fdZ
dS )
LinkSourcereturnc t )z,Returns the underlying link, if there's one.NotImplementedErrorselfs /builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.el9.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/index/sources.pylinkzLinkSource.link s "### c t )z9Candidates found by parsing an archive listing HTML file.r r s r page_candidateszLinkSource.page_candidates !###r c t )z,Links found by specifying archives directly.r r s r
file_linkszLinkSource.file_links r r N)__name__
__module____qualname__propertyr r r FoundCandidatesr
FoundLinksr r r r
r
ss
$htn $ $ $ X$$ $ $ $ $$J $ $ $ $ $ $r r
file_urlr c B t j | d d dk S )NF)strictr z text/html) mimetypes
guess_type)r# s r
_is_html_filer( # s" 777:kIIr c f e Zd ZdZdededdfdZedee fd Z
defdZde
fd ZdS )
_FlatDirectorySourcezLink source specified by ``--find-links=