zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
U
H=®d&    ã@s˜ddlmZddlmZerlddlmZmZmZmZddl    m
Z
ddl m Z ddl mZeedeefZdd    „ZGd
d „d eƒZGd d„deƒZd S)é©Úcanonicalize_name)ÚMYPY_CHECK_RUNNING)Ú    FrozenSetÚIterableÚOptionalÚTuple)Ú _BaseVersion)ÚLink)ÚInstallRequirementÚ    CandidatecCs,|s|Stdd„|Dƒƒ}d |d |¡¡S)Ncss|]}t|ƒVqdS)Nr)Ú.0Úe©rú_D:\z\workplace\VsCode\pyvenv\venv\Lib\site-packages\pip/_internal/resolution/resolvelib/base.pyÚ    <genexpr>szformat_name.<locals>.<genexpr>z{}[{}]ú,)ÚsortedÚformatÚjoin)ÚprojectÚextrasZcanonical_extrasrrrÚ format_namesrc@s0eZdZedd„ƒZdd„Zdd„Zdd„Zd    S)
Ú RequirementcCs tdƒ‚dS©NzSubclass should override©ÚNotImplementedError©ÚselfrrrÚnameszRequirement.namecCsdS)NFr)rÚ    candidaterrrÚis_satisfied_by!szRequirement.is_satisfied_bycCs tdƒ‚dSrrrrrrÚget_candidate_lookup%sz Requirement.get_candidate_lookupcCs tdƒ‚dSrrrrrrÚformat_for_error)szRequirement.format_for_errorN)Ú__name__Ú
__module__Ú __qualname__Úpropertyrr!r"r#rrrrrs
 
rc@s`eZdZedd„ƒZedd„ƒZedd„ƒZedd„ƒZed    d
„ƒZd d „Z    d d„Z
dd„Z dS)r cCs tdƒ‚dS©NzOverride in subclassrrrrrr/szCandidate.namecCs tdƒ‚dSr(rrrrrÚversion4szCandidate.versioncCs tdƒ‚dSr(rrrrrÚ is_installed9szCandidate.is_installedcCs tdƒ‚dSr(rrrrrÚ is_editable>szCandidate.is_editablecCs tdƒ‚dSr(rrrrrÚ source_linkCszCandidate.source_linkcCs tdƒ‚dSr(r)rZ with_requiresrrrÚiter_dependenciesHszCandidate.iter_dependenciescCs tdƒ‚dSr(rrrrrÚget_install_requirementLsz!Candidate.get_install_requirementcCs tdƒ‚dSrrrrrrr#PszCandidate.format_for_errorN) r$r%r&r'rr)r*r+r,r-r.r#rrrrr .s
 
 
 
 
N)Zpip._vendor.packaging.utilsrÚpip._internal.utils.typingrÚtypingrrrrÚpip._vendor.packaging.versionr    Úpip._internal.models.linkr
Zpip._internal.req.req_installr ZCandidateLookuprÚobjectrr rrrrÚ<module>s     ÿÿ