hyb
2025-12-30 5e753a15ff53faab2261a53367e44d38caf87041
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Ë
ñúh(ãó¶—ddlmZddlZddlmZddlmZddlmZddl    m
Z
ddl m Z ddl mZdd    lmZerdd
lmZej$e«ZGd „d e
«Zy) é)Ú annotationsN)ÚIterable)Ú TYPE_CHECKING)ÚBuildEnvironment)ÚAbstractDistribution)ÚInstallationError)ÚBaseDistribution)Úrunner_with_spinner_message)ÚBuildEnvironmentInstallercóŽ—eZdZdZed d„«Zd d„Z                                dd„Z                dd„Zdd„Z    dd„Z
                dd„Z                         dd    „Z dd
„Z y )ÚSourceDistributionz½Represents a source distribution.
 
    The preparation step for these needs metadata for the packages to be
    generated, either using PEP 517 or using the legacy `setup.py egg_info`.
    cór—|jjsJ‚|jjjS)z/Identify this requirement uniquely by its link.)ÚreqÚlinkÚurl_without_fragment©Úselfs úTH:\Change_password\venv_build\Lib\site-packages\pip/_internal/distributions/sdist.pyÚbuild_tracker_idz#SourceDistribution.build_tracker_ids(€ðx‰x}Š}Ј}؏x‰x}‰}×1Ñ1Ð1ócó6—|jj«S)N)rÚget_distrs rÚget_metadata_distributionz,SourceDistribution.get_metadata_distribution s€Øx‰x× Ñ Ó"Ð"rcó&—|jj«|jjxr|}|r<|j|«|jj    «|j |«|jjxr|}|ri|jj }|€J‚|jjj|«\}}|r|jd|«|r|j|«|jj«y)Núthe backend dependencies) rÚload_pyproject_tomlÚ
use_pep517Ú_prepare_build_backendÚisolated_editable_sanity_checkÚ_install_build_reqsÚpyproject_requiresÚ    build_envÚcheck_requirementsÚ_raise_conflictsÚ_raise_missing_reqsÚprepare_metadata)    rÚbuild_env_installerÚbuild_isolationÚcheck_build_depsÚshould_isolateÚshould_check_depsr!Ú conflictingÚmissings             rÚprepare_distribution_metadataz0SourceDistribution.prepare_distribution_metadata#sí€ð     ‰×$Ñ$Ô&ðŸ™×,Ñ,Ò@°ˆÙ ð × 'Ñ 'Ð(;Ô <ð H‰H× 3Ñ 3Ô 5à × $Ñ $Ð%8Ô 9à ŸH™H×/Ñ/ÒDÐ4DÐÙ Ø!%§¡×!<Ñ!<Ð Ø%Ð1Ð 1Ð1Ø#'§8¡8×#5Ñ#5×#HÑ#HØ"ó$Ñ  ˆK˜ñØ×%Ñ%Ð&@À+ÔNÙØ×(Ñ(¨Ô1Ø ‰×!Ñ!Õ#rc ó0—|jj}|€J‚t|«|j_|jjj    |dd|j¬«|jjj |jj «\}}|r|jd|«|r]tjd|j«tjddjttt|««««yy)NÚoverlayzbuild dependencies©ÚkindÚfor_reqz"PEP 517/518 supported requirementsz4Missing build requirements in pyproject.toml for %s.z`The project does not specify a build backend, and pip cannot fall back to setuptools without %s.z and )rr!rr"Úinstall_requirementsr#Úrequirements_to_checkr$ÚloggerÚwarningÚjoinÚmapÚreprÚsorted)rr'r!r,r-s     rrz)SourceDistribution._prepare_build_backendJsê€ð
"ŸX™X×8Ñ8ÐØ!Ð-Ð-Ð-ä-Ð.AÓBˆ‰ÔØ ‰×Ñ×/Ñ/Ø      Ð0DÈdÏhÉhð    0ô    
ð $Ÿx™x×1Ñ1×DÑDØ H‰H× *Ñ *ó 
ш Wñ Ø × !Ñ !Ð"FÈ Ô TÙ Ü N‰NØFØ—‘ô ô N‰NðAà— ‘ œS¤¤v¨g£Ó7Ó8õ ð rcó&—|jj5td«}|jj}|€J‚|j    |«5|j «cddd«cddd«S#1swYnxYw    ddd«y#1swYyxYw)Nz#Getting requirements to build wheel)rr"r
Úpep517_backendÚsubprocess_runnerÚget_requires_for_build_wheel©rÚrunnerÚbackends   rÚ_get_build_requires_wheelz,SourceDistribution._get_build_requires_wheelfs€Ø X‰X× Ñ ñ    >Ü0Ð1VÓWˆFØ—h‘h×-Ñ-ˆGØÐ&Ð &Ð&Ø×*Ñ*¨6Ó2ñ >Ø×;Ñ;Ó=÷ >ð >÷        >ñ    >÷ >ð >úð >÷        >÷    >ñ    >úó#—7BÁA1Á    BÁ1A:    Á6BÂBcó&—|jj5td«}|jj}|€J‚|j    |«5|j «cddd«cddd«S#1swYnxYw    ddd«y#1swYyxYw)Nz&Getting requirements to build editable)rr"r
r=r>Úget_requires_for_build_editabler@s   rÚ_get_build_requires_editablez/SourceDistribution._get_build_requires_editablens€Ø X‰X× Ñ ñ    AÜ0Ø8óˆFð—h‘h×-Ñ-ˆGØÐ&Ð &Ð&Ø×*Ñ*¨6Ó2ñ AØ×>Ñ>Ó@÷ Að A÷     Añ    A÷  Að Aúð A÷     A÷    Añ    AúrDcó¨—|jjr=|jjr'|jjr|j    «}n|j «}|jj j|«\}}|r|jd|«|jj j|dd|j¬«y)NrÚnormalzbackend dependenciesr1)
rÚeditableÚpermit_editable_wheelsÚsupports_pyproject_editablerGrCr"r#r$r4)rr'Ú
build_reqsr,r-s     rr z&SourceDistribution._install_build_reqsxs¥€ð H‰H× Ò Ø—‘×/Ò/Ø—‘×4Ò4à×:Ñ:Ó<‰Jà×7Ñ7Ó9ˆJØ#Ÿx™x×1Ñ1×DÑDÀZÓPш WÙ Ø × !Ñ !Ð"<¸kÔ JØ ‰×Ñ×/Ñ/Ø XÐ$:ÀDÇHÁHð    0õ    
rc
ó–—d}|j|j|djd„t|«D««¬«}t    |«‚)NzZSome build dependencies for {requirement} conflict with {conflicting_with}: {description}.ú, c3ó0K—|]\}}|›d|›–—Œy­w)z is incompatible with N©)Ú.0Ú    installedÚwanteds   rú    <genexpr>z6SourceDistribution._raise_conflicts.<locals>.<genexpr>—s(èø€ò"á%I˜vð+Ð3°F°8Ô<ñ"ùs‚)Ú requirementÚconflicting_withÚ description)Úformatrr8r;r)rrWÚconflicting_reqsÚ format_stringÚ error_messages     rr$z#SourceDistribution._raise_conflictssY€ð ?ð    ð&×,Ñ,ØŸ™Ø-ØŸ    ™    ñ"ä)/Ð0@Ó)Aô"óð-ó
ˆ ô   Ó.Ð.rc ó¢—d}|j|jdjttt |«««¬«}t |«‚)NzASome build dependencies for {requirement} are missing: {missing}.rO)rVr-)rYrr8r9r:r;r)rr-r[r\s    rr%z&SourceDistribution._raise_missing_reqsžsK€à Oð    ð&×,Ñ,ØŸ™¨$¯)©)´C¼¼fÀW»oÓ4NÓ*Oð-ó
ˆ ô   Ó.Ð.rN)Úreturnz
str | None)r^r    )r'r r(Úboolr)r_r^ÚNone)r'r r^r`)r^z Iterable[str])rWÚstrrZzset[tuple[str, str]]r^r`)r-zset[str]r^r`)Ú__name__Ú
__module__Ú __qualname__Ú__doc__Úpropertyrrr.rrCrGr r$r%rQrrr r s£„ñð ò2óð2ó
#ð%$à6ð%$ðð%$ðð    %$ð
 
ó %$ðNØ#<ðà     óó8>óAð
Ø#<ð
à     ó
ð*/Ø #ð/Ø7Kð/à     ó/ô"/rr )Ú
__future__rÚloggingÚcollections.abcrÚtypingrÚpip._internal.build_envrÚ pip._internal.distributions.baserÚpip._internal.exceptionsrÚpip._internal.metadatar    Úpip._internal.utils.subprocessr
r Ú    getLoggerrbr6r rQrrú<module>rqsGðÝ"ãÝ$Ý å4ÝAÝ6Ý3ÝFáÝAà    ˆ×    Ñ    ˜8Ó    $€ôR/Ð-õR/r