ó
    Þ jÖm  ã                   óÜ  • S r SSKrSSKrSSKrSSKJr  SSKJr  SSKJ	r	J
r
JrJr  SSKJr  SSKJr  SSKJr  SS	KJrJrJrJrJrJrJr  SS
KJr  SSKJrJr  SSK J!r!  SSK"J#r#  SSK$J%r%  SSK&J'r'J(r(  SSK)J*r*J+r+  SSK,J-r-  SSK.J/r/  SSK0J1r1  SSK2J3r3  SSK4J5r5J6r6  SSK7J8r8J9r9  SSK:J;r;  SSK<J=r=J>r>J?r?J@r@  SSKAJBrB  SSKCJDrD  SSKEJFrF  \3" \G5      rHS\1S\/S\S\IS \IS!\4S" jrJS#\#S$\KS%\LS!S4S& jrM\ " S' S(5      5       rN  S3S#\#S)\(S*\\K   S+\\8   S!\N4
S, jjrO S3S#\#S*\\K   S+\\8   S!\N4S- jjrP  S3S#\#S$\KS)\(S%\LS*\\K   S+\\8   S!\\N   4S. jjrQ S4S#\#S*\KS+\\8   S/\IS!\\K   4
S0 jjrR " S1 S25      rSg)5z)Prepares a distribution for installation
é    N)Ú	dataclass)ÚPath)ÚDictÚIterableÚListÚOptional)Úcanonicalize_name)Ú)make_distribution_for_install_requirement)ÚInstalledDistribution)ÚDirectoryUrlHashUnsupportedÚHashMismatchÚHashUnpinnedÚInstallationErrorÚMetadataInconsistentÚNetworkConnectionErrorÚVcsHashUnsupported)ÚPackageFinder)ÚBaseDistributionÚget_metadata_distribution)ÚArchiveInfo)ÚLink)ÚWheel)ÚBatchDownloaderÚ
Downloader)ÚHTTPRangeRequestUnsupportedÚdist_from_wheel_url)Ú
PipSession)ÚBuildTracker)ÚInstallRequirement)Ú	getLogger)Údirect_url_for_editableÚdirect_url_from_link)ÚHashesÚMissingHashes)Ú
indent_log)Údisplay_pathÚ	hash_fileÚhide_urlÚredact_auth_from_requirement)ÚTempDirectory)Úunpack_file)ÚvcsÚreqÚbuild_trackerÚfinderÚbuild_isolationÚcheck_build_depsÚreturnc                 ó  • [        U 5      nUR                  nUb<  UR                  X5         UR                  X#U5        SSS5        UR	                  5       $ UR	                  5       $ ! , (       d  f       UR	                  5       $ = f)z(Prepare a distribution for installation.N)r
   Úbuild_tracker_idÚtrackÚprepare_distribution_metadatar   )r-   r.   r/   r0   r1   Úabstract_distÚ
tracker_ids          ÚZ/var/www/html/gaurav/venv/lib/python3.13/site-packages/pip/_internal/operations/prepare.pyÚ_get_prepared_distributionr:   <   s   € ô >¸cÓB€MØ×/Ñ/€JØÑØ× Ñ  Õ1Ø×7Ñ7ØÐ)9ô÷ 2ð ×2Ñ2Ó4Ð4ˆ=×2Ñ2Ó4Ð4÷	 2Ô1ð ×2Ñ2Ó4Ð4ús   ¬A'Á'
BÚlinkÚlocationÚ	verbosityc                 ó–   • [         R                  " U R                  5      nUc   eUR                  U[	        U R
                  5      US9  g )N)Úurlr=   )r,   Úget_backend_for_schemeÚschemeÚunpackr(   r?   )r;   r<   r=   Úvcs_backends       r9   Úunpack_vcs_linkrD   N   s@   € Ü×,Ò,¨T¯[©[Ó9€KØÑ"Ð"Ð"Ø×Ñ�x¤X¨d¯h©hÓ%7À9ÐÒMó    c                   ó>   • \ rS rSr% \\S'   Sr\\   \S'   SS jrSr	g)ÚFileéT   ÚpathNÚcontent_typec                 óp   • U R                   c)  [        R                  " U R                  5      S   U l         g g )Nr   )rJ   Ú	mimetypesÚ
guess_typerI   )Úselfs    r9   Ú__post_init__ÚFile.__post_init__Y   s/   € Ø×ÑÑ$Ü )× 4Ò 4°T·Y±YÓ ?ÀÑ BˆDÕð %rE   ©rJ   )r2   N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__ÚstrÚ__annotations__rJ   r   rO   Ú__static_attributes__© rE   r9   rG   rG   T   s   ‡ à
ƒIØ"&€L�(˜3‘-Ó&÷CrE   rG   ÚdownloadÚdownload_dirÚhashesc                 óÆ   • [        SSS9nS nU(       a  [        XU5      nU(       a  UnS nO,U" XR                  5      u  pgU(       a  UR                  U5        [	        Xg5      $ )NrB   T©ÚkindÚglobally_managed)r*   Ú_check_download_dirrI   Úcheck_against_pathrG   )r;   rZ   r[   r\   Útemp_dirÚalready_downloaded_pathÚ	from_pathrJ   s           r9   Úget_http_urlrf   ^   sb   € ô  (¸TÑB€Hà"ÐÞÜ"5°dÈ&Ó"QÐæØ+ˆ	Ø‰ñ #+¨4·±Ó"?Ñˆ	ÞØ×%Ñ% iÔ0ä�	Ó(Ð(rE   c                 ó    • SnU(       a  [        XU5      nU(       a  UnOU R                  nU(       a  UR                  U5        [        US5      $ )z'Get file and optionally check its hash.N)ra   Ú	file_pathrb   rG   )r;   r[   r\   rd   re   s        r9   Úget_file_urlri   v   sK   € ð
 #ÐÞÜ"5°dÈ&Ó"QÐæØ+‰	à—N‘Nˆ	ö Ø×!Ñ! )Ô,Ü�	˜4Ó Ð rE   c                 ó  • U R                   (       a  [        XUS9  gU R                  5       (       a   eU R                  (       a  [	        XUS9nO[        U UUUS9nU R                  (       d   [        UR                  XR                  5        U$ )aK  Unpack link into location, downloading if required.

:param hashes: A Hashes object, one of whose embedded hashes must match,
    or HashMismatch will be raised. If the Hashes is empty, no matches are
    required, and unhashable types of requirements (like VCS ones, which
    would ordinarily raise HashUnsupported) are allowed.
)r=   N©r\   )
Úis_vcsrD   Úis_existing_dirÚis_fileri   rf   Úis_wheelr+   rI   rJ   )r;   r<   rZ   r=   r[   r\   Úfiles          r9   Ú
unpack_urlrq   Ž   s|   € ð  ‡{‡{Ü˜°)Ò<Øà×#Ñ#×%Ñ%Ð%Ð%ð ‡|‡|Ü˜D°vÑ>‰ô ØØØØñ	
ˆð �=�=Ü�D—I‘I˜x×):Ñ):Ô;à€KrE   Úwarn_on_hash_mismatchc                 óŠ  • [         R                  R                  XR                  5      n[         R                  R	                  U5      (       d  g[
        R                  SU5        U(       a   UR                  U5        U$ U$ ! [         a6    U(       a  [
        R                  SU5        [         R                  " U5         gf = f)zyCheck download_dir for previously downloaded file with correct hash
If a correct file is found return its path else None
NzFile was already downloaded %sz;Previously-downloaded file %s has bad hash. Re-downloading.)ÚosrI   ÚjoinÚfilenameÚexistsÚloggerÚinforb   r   ÚwarningÚunlink)r;   r[   r\   rr   Údownload_paths        r9   ra   ra   ¹   s›   € ô —G‘G—L‘L ¯}©}Ó=€Mä�7‰7�>‰>˜-×(Ñ(Øô ‡K�KÐ0°-Ô@Þð		Ø×%Ñ% mÔ4ð Ðˆ=Ðøô ó 	Þ$Ü—‘ØQØ!ôô �IŠI�mÔ$Ùð	ús   Á-B Â=CÃCc                   ó¤  ^ • \ rS rSrSrS\S\\   S\S\S\S\S	\	S
\S\
S\S\S\S\S\SS4U 4S jjrS\SS4S jrS\S\SS4S jrS\S\4S jrS\S\\   4S jrS\S\\   4S jrS\S\\   4S jr S(S\\   S\SS4S jjr S(S\S\S\4S jjr S(S \\   S\SS4S! jjrS\S\S\4S" jrS\SS4S# jrS\S\4S$ jrS\S%\S\4S& jrS'rU =r $ ))ÚRequirementPrepareré×   zPrepares a RequirementÚ	build_dirr[   Úsrc_dirr0   r1   r.   ÚsessionÚprogress_barr/   Úrequire_hashesÚuse_user_siteÚ
lazy_wheelr=   Úlegacy_resolverr2   Nc                 ó  >• [         TU ]  5         X0l        Xl        X`l        Xpl        [        Xx5      U l        [        Xx5      U l	        X�l
        X l        X@l        XPl        X l        X°l        XÀl        XÐl        Xàl        0 U l        SU l        g )N)Ú r‰   )ÚsuperÚ__init__r�   r€   r.   Ú_sessionr   Ú	_downloadr   Ú_batch_downloadr/   r[   r0   r1   r„   r…   Úuse_lazy_wheelr=   r‡   Ú_downloadedÚ_previous_requirement_header)rN   r€   r[   r�   r0   r1   r.   r‚   rƒ   r/   r„   r…   r†   r=   r‡   Ú	__class__s                  €r9   r‹   ÚRequirementPreparer.__init__Ú   s–   ø€ ô" 	‰ÑÔàŒØ"ŒØ*ÔØŒÜ# GÓ:ˆŒÜ.¨wÓEˆÔØŒð )Ôð  /Ôð !1Ôð -Ôð +Ôð )Ôð #Œð  /Ôð ,.ˆÔð -5ˆÕ)rE   r-   c                 ó$  • UR                   R                  (       a<  UR                  (       d+  Sn[        [	        UR                   R
                  5      5      nO3SnUR                  (       a  [        UR                  5      O
[        U5      nUR                  (       ag  UR                  (       aV  [        UR                  [        5      (       a  UR                  nOUR                  R                  5       nU(       a	  USU S3-  nX#4U R                  :w  a  X#4U l        [        R                  X#5        UR                  (       a>  [        5          [        R                  SUR                   R                  5        SSS5        gg! , (       d  f       g= f)z3Provide context for the requirement being prepared.zProcessing %szCollecting %sz (from Ú)zUsing cached %sN)r;   rn   Úis_wheel_from_cacherV   r&   rh   r-   r)   Ú
comes_fromÚ
isinstancere   r‘   rx   ry   r%   rv   )rN   r-   ÚmessageÚinformationr—   s        r9   Ú_log_preparing_linkÚ'RequirementPreparer._log_preparing_link  s
  € à�8‰8×× C×$;×$;Ø%ˆGÜœl¨3¯8©8×+=Ñ+=Ó>Ó?‰Kà%ˆGØCFÇ7Ç7Ô6°s·w±wÔ?ÔPSÐTWÓPXˆKð �7�7�s—~—~Ü˜#Ÿ.™.¬#×.Ñ.Ø,/¯N©N‘
à Ÿ^™^×5Ñ5Ó7�
ÞØ ¨¨°AÐ6Ñ6�àÐ! T×%FÑ%FÓFØ18Ð0FˆDÔ-Ü�K‰K˜Ô-à×"×"Ü•Ü—‘Ð-¨s¯x©x×/@Ñ/@ÔA÷ �ð #ß•ús   Å+FÆ
FÚparallel_buildsc                 ó&  • UR                   R                  (       a  gUR                  b   eUR                   R                  5       (       a  UR                   R                  Ul        gUR                  U R                  SUS9  UR                  5         g)z1Ensure source_dir of a linked InstallRequirement.NT)Ú
autodeleter�   )r;   ro   Ú
source_dirrm   rh   Úensure_has_source_dirr€   Úensure_pristine_source_checkout)rN   r-   r�   s      r9   Ú_ensure_link_req_src_dirÚ,RequirementPreparer._ensure_link_req_src_dir/  s}   € ð
 �8‰8××ð Ø�~‰~Ñ%Ð%Ð%Ø�8‰8×#Ñ#×%Ñ%à ŸX™X×/Ñ/ˆCŒNØð 	×!Ñ!Ø�N‰NØØ+ð 	"ñ 	
ð
 	×+Ñ+Õ-rE   c                 óv  • U R                   (       d  UR                  SS9$ UR                  R                  (       a
  [	        5       eUR                  R                  5       (       a
  [        5       eUR                  (       d  UR                  (       d
  [        5       eUR                  SS9=(       d
    [        5       $ )NT)Útrust_internetF)r„   r\   r;   rl   r   rm   r   Ú	is_directÚ	is_pinnedr   r$   ©rN   r-   s     r9   Ú_get_linked_req_hashesÚ*RequirementPreparer._get_linked_req_hashesF  s�   € ð ×"×"Ø—:‘:¨T�:Ð2Ð2ð �8‰8�?�?Ü$Ó&Ð&Ø�8‰8×#Ñ#×%Ñ%Ü-Ó/Ð/ð �}�} S§]§]Ü“.Ð ð �z‰z¨ˆzÐ/×B´=³?ÐBrE   c                 ó  • U R                   (       a  [        R                  S5        g U R                  (       a  [        R                  S5        g U R	                  U5      =(       d    U R                  UR                  5      $ )Nz9Metadata-only fetching is not used in the legacy resolverz?Metadata-only fetching is not used as hash checking is required)r‡   rx   Údebugr„   Ú$_fetch_metadata_using_link_data_attrÚ _fetch_metadata_using_lazy_wheelr;   r©   s     r9   Ú_fetch_metadata_onlyÚ(RequirementPreparer._fetch_metadata_onlyf  sk   € ð ××Ü�L‰LØKôð Ø××Ü�L‰LØQôð à×8Ñ8Øó
÷ =à×2Ñ2°3·8±8Ó<ð	=rE   c                 ó–  • UR                   R                  5       nUc  gUR                  c   e[        R	                  SUR                  U5        [        UU R                  UR                  5       S9n[        UR                  S5       nUR                  5       nSSS5        [        WUR                   R                  UR                  R                  5      n[        UR                  5      [        UR                  R                  5      :w  a,  [!        USUR                  R                  UR                  5      eU$ ! , (       d  f       N§= f)zGFetch metadata from the data-dist-info-metadata attribute, if possible.Nz/Obtaining dependency information for %s from %srk   ÚrbÚName)r;   Úmetadata_linkr-   rx   Úverboserf   r�   Ú	as_hashesÚopenrI   Úreadr   rv   Únamer	   Úraw_namer   )rN   r-   rµ   Úmetadata_fileÚfÚmetadata_contentsÚmetadata_dists          r9   r®   Ú8RequirementPreparer._fetch_metadata_using_link_data_attry  s  € ð Ÿ™×.Ñ.Ó0ˆØÑ ØØ�w‰wÑ"Ð"Ð"Ü�‰Ø=Ø�G‰GØô	
ô %ØØ�N‰NØ ×*Ñ*Ó,ñ
ˆô
 �-×$Ñ$ dÔ+¨qØ !§¡£Ð÷ ,ô 2ØØ�H‰H×ÑØ�G‰G�L‰Ló
ˆô ˜]×3Ñ3Ó4Ô8IÈ#Ï'É'Ï,É,Ó8WÓWÜ&Ø�V˜SŸW™WŸ\™\¨=×+AÑ+Aóð ð Ð÷% ,Õ+ús   ÂD:Ä:
Er;   c                 óæ  • U R                   (       d  gUR                  (       d  UR                  (       d  [        R	                  SU5        g[        UR                  5      n[        UR                  5      n[        R                  SUUR                  5        UR                  R                  SS5      S   n [        X4U R                  5      $ ! [         a    [        R	                  SU5         gf = f)z-Fetch metadata using lazy wheel, if possible.Nz=Lazy wheel is not used as %r does not point to a remote wheelz+Obtaining dependency information from %s %sÚ#é   r   z"%s does not support range requests)r�   rn   ro   rx   r­   r   rv   r	   rº   ry   Úversionr?   Úsplitr   rŒ   r   )rN   r;   Úwheelrº   r?   s        r9   r¯   Ú4RequirementPreparer._fetch_metadata_using_lazy_wheel¢  s»   € ð ×"×"ØØ�<�<˜tŸ}Ÿ}Ü�L‰LØOØôð ä�d—m‘mÓ$ˆÜ  §¡Ó,ˆÜ�‰Ø9ØØ�M‰Mô	
ð
 �h‰h�n‰n˜S !Ó$ QÑ'ˆð	Ü& t°$·-±-Ó@Ð@øÜ*ó 	Ü�L‰LÐ=¸sÔCÙð	ús   Â7C Ã C0Ã/C0Úpartially_downloaded_reqsc                 óò  • [        SSS9R                  n0 nU H$  nUR                  (       d   eXTUR                  '   M&     U R                  UR	                  5       U5      nU Hw  u  nu  p‰[
        R                  SXx5        XG   nX…l        X€R                  UR                  R                  '   UR                  (       a  M]  UR                  [        U5      5        My     U H  nU R                  XR5        M     g)z>Download any requirements which were only fetched by metadata.rB   Tr^   zDownloading link %s to %sN)r*   rI   r;   rŽ   Úkeysrx   r­   Úlocal_file_pathr�   r?   ro   Úneeds_unpacked_archiver   Ú_prepare_linked_requirement)
rN   rÈ   r�   rc   Úlinks_to_fully_downloadr-   Úbatch_downloadr;   ÚfilepathÚ_s
             r9   Ú_complete_partial_requirementsÚ2RequirementPreparer._complete_partial_requirements¿  sã   € ô ! hÀÑF×KÑKˆð
 CEÐÛ,ˆCØ—8—8ˆO�8Ø03 C§H¡HÓ-ñ -ð ×-Ñ-Ø#×(Ñ(Ó*Øó
ˆó $2ÑˆD‘-�8Ü�L‰LÐ4°dÔEØ)Ñ/ˆCð #+Ôð .6×Ñ˜SŸX™XŸ\™\Ñ*ð —<—<‘<Ø×*Ñ*¬4°«>Ö:ñ $2ó& -ˆCØ×,Ñ,¨SÖBò -rE   c                 ó"  • UR                   (       d   eU R                  U5        [        5          SnU R                  b[  UR                   R                  (       a@  U R                  U5      n[        UR                   U R                  UUR                  (       + S9nUb#  X0R                  UR                   R                  '   O&U R                  U5      nUb  SUl        UsSSS5        $ U R                  X5      sSSS5        $ ! , (       d  f       g= f)z3Prepare a requirement to be obtained from req.link.N)rr   T)r;   r›   r%   r[   ro   rª   ra   r–   r�   r?   r°   Úneeds_more_preparationrÍ   )rN   r-   r�   rh   r\   r¿   s         r9   Úprepare_linked_requirementÚ.RequirementPreparer.prepare_linked_requirementë  sÞ   € ð �x�xˆˆxØ× Ñ  Ô%Ü�\ð ˆIØ× Ñ Ñ,°·±×1B×1BØ×4Ñ4°SÓ9�Ü/Ø—H‘HØ×%Ñ%Øð /2×.EÑ.EÔ*Eñ�	ð Ñ$à1:× Ñ  §¡§¡Ò.ð !%× 9Ñ 9¸#Ó >�Ø Ñ,Ø15�CÔ.Ø(÷7 ‰\ð< ×3Ñ3°CÓI÷= �\�\ús   ¯B-D Ã&D Ä 
DÚreqsc                 ó  • U Vs/ sH  o3R                   (       d  M  UPM     nnU H�  nU R                  c  M  UR                  R                  (       d  M/  U R	                  U5      n[        UR                  U R                  U5      nUc  Mf  XPR                  UR                  R                  '   SUl         M‘     / nU H8  nUR                   (       a  UR                  U5        M'  U R                  X25        M:     U R                  UUS9  gs  snf )z,Prepare linked requirements more, if needed.NF)r�   )rÕ   r[   r;   ro   rª   ra   r�   r?   ÚappendrÍ   rÒ   )rN   rØ   r�   r-   r\   rh   rÈ   s          r9   Ú prepare_linked_requirements_moreÚ4RequirementPreparer.prepare_linked_requirements_more  sè   € ñ  $ÓB™t˜×'AÕ'A—™tˆÐBÛˆCà× Ñ Ó,°·±×1B×1BÑ1BØ×4Ñ4°SÓ9�Ü/°·±¸$×:KÑ:KÈVÓT�	ØÓ(Ø5>×$Ñ$ S§X¡X§\¡\Ñ2Ø16�CÖ.ñ ð ?AÐ!ÛˆCØ×)×)Ø)×0Ñ0°Ö5à×0Ñ0°ÖFñ	 ð 	×+Ñ+Ø%Ø+ð 	,ò 	
ùò+ Cs
   …D
œD
c           	      ón  • UR                   (       d   eUR                   nU R                  U5      nU(       aý  UR                  (       aì  UR                  c   eUR                  (       d   eUR
                  (       d   e[        UR                  R                  [        5      (       a\  UR                  R                  R                  (       a7  UR                  UR                  R                  R                  5      (       a  S nO2[        R                  S5        UR                  Ul         UR                   nU R                  X5        UR                  5       (       a  S nO�UR                   U R"                  ;  a:   [%        UUR&                  U R(                  U R*                  U R,                  U5      nO;U R"                  UR                      nU(       a  UR3                  U5        [5        US S9nUR                  cÆ  UR6                  (       a   e[9        X1R&                  5      Ul        [        UR                  R                  [        5      (       ap  UR                  R                  R                  (       dK  U(       aD  [;        UR<                  5      S   R?                  5       nSU 3UR                  R                  l         U(       a  UR<                  Ul!        [E        UU RF                  U RH                  U RJ                  U RL                  5      n	U	$ ! [.         a  n[1        SU SU SU 35      eS nAff = f)NzyThe hashes of the source archive found in cache entry don't match, ignoring cached built wheel and re-downloading source.zCould not install requirement z because of HTTP error z	 for URL rQ   r   zsha256=)'r;   rª   r–   Údownload_inforo   rn   r˜   ry   r   r\   Ú
has_one_ofrx   rz   Úcached_wheel_source_linkr£   rm   r?   r�   rq   r    r�   r=   r[   r   r   rb   rG   Úeditabler"   r'   rI   Ú	hexdigestÚhashrË   r:   r.   r/   r0   r1   )
rN   r-   r�   r;   r\   Ú
local_fileÚexcrh   rã   Údists
             r9   rÍ   Ú/RequirementPreparer._prepare_linked_requirement/  s—  € ð �x�xˆˆxØ�x‰xˆà×,Ñ,¨SÓ1ˆæ�c×-×-Ø×$Ñ$Ñ0Ð0Ð0Ø—=—=Ð �=Ø—<—<Ð�<ô ˜3×,Ñ,×1Ñ1´;×?Ñ?Ø×%Ñ%×*Ñ*×1×1Ø×%Ñ% c×&7Ñ&7×&<Ñ&<×&CÑ&C×DÑDð ‘ä—‘ð1ôð
 ×7Ñ7�”Ø—x‘x�à×%Ñ% cÔ;à×Ñ×!Ñ!Ø‰JØ�X‰X˜T×-Ñ-Ó-ðÜ'ØØ—N‘NØ—N‘NØ—N‘NØ×%Ñ%Øó‘
ð ×(Ñ(¨¯©Ñ2ˆIÞØ×)Ñ)¨)Ô4Ü˜i°dÑ;ˆJð ×ÑÑ$ð —|—|Ð#Ð#Ü 4°T¿>¹>Ó JˆCÔô ˜3×,Ñ,×1Ñ1´;×?Ñ?Ø×)Ñ)×.Ñ.×5×5Þä  §¡Ó1°!Ñ4×>Ñ>Ó@�ð 18¸°vÐ.>�×!Ñ!×&Ñ&Ô+ö Ø",§/¡/ˆCÔä)ØØ×ÑØ�K‰KØ× Ñ Ø×!Ñ!ó
ˆð ˆøôW *ó Ü'Ø4°S°Eð :Ø ˜E ¨4¨&ð2óð ûðús   Å98L Ì
L4ÌL/Ì/L4c                 ó¨  • U R                   c   eUR                  c   eUR                  nUR                  (       d&  UR                  5       (       a-  UR                  (       a  UR                  U R                   5        g UR                  5       (       a  [        R                  SU5        g UR                  c  g [        R                  R                  U R                   UR                  5      n[        R                  R                  U5      (       dC  [        R                  " UR                  U5        [!        U5      n[        R#                  SU5        g g )NzENot copying link to destination directory since it is a directory: %szSaved %s)r[   r;   rl   rm   rá   Úarchiverx   r­   rË   rt   rI   ru   rv   rw   ÚshutilÚcopyr&   ry   )rN   r-   r;   Údownload_locationr|   s        r9   Úsave_linked_requirementÚ+RequirementPreparer.save_linked_requirement‹  sú   € Ø× Ñ Ñ,Ð,Ð,Ø�x‰xÑ#Ð#Ð#Ø�x‰xˆØ�;�;˜4×/Ñ/×1Ñ1°c·l·là�K‰K˜×)Ñ)Ô*Øà×Ñ×!Ñ!Ü�L‰Lð.àôð
 Ø×ÑÑ&àäŸG™GŸL™L¨×):Ñ):¸D¿M¹MÓJÐÜ�w‰w�~‰~Ð/×0Ñ0Ü�KŠK˜×+Ñ+Ð->Ô?Ü(Ð):Ó;ˆMÜ�K‰K˜
 MÕ2ð 1rE   c                 ó@  • UR                   (       d   S5       e[        R                  SU5        [        5          U R                  (       a  [        SU S35      eUR                  U R                  5        UR                  5         UR                  (       d   e[        UR                  5      Ul        [        UU R                  U R                  U R                   U R"                  5      nUR%                  U R&                  5        SSS5        U$ ! , (       d  f       W$ = f)z Prepare an editable requirement.z-cannot prepare a non-editable req as editablezObtaining %szThe editable requirement zT cannot be installed when requiring hashes, because there is no single file to hash.N)rá   rx   ry   r%   r„   r   r¡   r�   Úupdate_editabler    r!   Úunpacked_source_directoryrÞ   r:   r.   r/   r0   r1   Úcheck_if_existsr…   )rN   r-   ræ   s      r9   Úprepare_editable_requirementÚ0RequirementPreparer.prepare_editable_requirement¥  sï   € ð
 �|�|ÐLÐLÓLˆ|ä�‰�N CÔ(ä�\Ø×"×"Ü'Ø/°¨uð 5ð óð ð
 ×%Ñ% d§l¡lÔ3Ø×ÑÔ!Ø—>—>Ð!�>Ü 7¸×8UÑ8UÓ VˆCÔä-ØØ×"Ñ"Ø—‘Ø×$Ñ$Ø×%Ñ%óˆDð ×Ñ × 2Ñ 2Ô3÷) ð, ˆ÷- Œ\ð, ˆús   ¹CDÄ
DÚskip_reasonc                 ó~  • UR                   (       d   S5       eUc   SUR                    35       e[        R                  SX!UR                   R                  5        [	        5          U R
                  (       a  [        R                  S5        [        U5      R                  5       sSSS5        $ ! , (       d  f       g= f)z)Prepare an already-installed requirement.z(req should have been satisfied but isn'tNz?did not get skip reason skipped but req.satisfied_by is set to zRequirement %s: %s (%s)z§Since it is already installed, we are trusting this package without checking its hash. To ensure a completely repeatable environment, install into an empty virtualenv.)	Úsatisfied_byrx   ry   rÄ   r%   r„   r­   r   r   )rN   r-   rõ   s      r9   Úprepare_installed_requirementÚ1RequirementPreparer.prepare_installed_requirementÆ  s¡   € ð ××ÐKÐ!KÓKÐØÑ&ð 	
ðØ×)Ñ)Ð*ð,ó	
Ð&ô 	�‰Ø% {¸×9IÑ9I×9QÑ9Qô	
ô �\Ø×"×"Ü—‘ð(ôô )¨Ó-×GÑGÓI÷ �\�\ús   Á%?B.Â.
B<)rŽ   r�   r�   r‘   rŒ   r€   r0   r.   r1   r[   r/   r‡   r„   r�   r�   r…   r=   )F)!rR   rS   rT   rU   Ú__doc__rV   r   Úboolr   r   r   Úintr‹   r   r›   r£   r#   rª   r   r°   r®   r   r¯   r   rÒ   rÖ   rÛ   rÍ   rí   ró   rø   rX   Ú__classcell__)r’   s   @r9   r~   r~   ×   sF  ø† Ù ð85àð85ð ˜s‘mð85ð ð	85ð
 ð85ð ð85ð $ð85ð ð85ð ð85ð ð85ð ð85ð ð85ð ð85ð ð85ð ð85ð  
÷!85ðtBÐ'9ð B¸dô Bð6.Ø%ð.Ø8<ð.à	ô.ð.CÐ*<ð CÀô Cð@=àð=ð 
Ð"Ñ	#ô=ð&'àð'ð 
Ð"Ñ	#ô'ðRàðð 
Ð"Ñ	#ôð@ !&ñ*Cà#+Ð,>Ñ#?ð*Cð ð*Cð 
õ	*CðZ @Eñ$JØ%ð$JØ8<ð$Jà	õ$JðN KPñ
ØÐ/Ñ0ð
ØCGð
à	õ
ð<ZØ%ðZØ8<ðZà	ôZðx3Ð+=ð 3À$ô 3ð4àðð 
ôðBJàðJð ðJð 
÷	Jò JrE   r~   )NN)T)Trú   rL   rt   rê   Údataclassesr   Úpathlibr   Útypingr   r   r   r   Úpip._vendor.packaging.utilsr	   Úpip._internal.distributionsr
   Ú%pip._internal.distributions.installedr   Úpip._internal.exceptionsr   r   r   r   r   r   r   Ú"pip._internal.index.package_finderr   Úpip._internal.metadatar   r   Úpip._internal.models.direct_urlr   Úpip._internal.models.linkr   Úpip._internal.models.wheelr   Úpip._internal.network.downloadr   r   Ú pip._internal.network.lazy_wheelr   r   Úpip._internal.network.sessionr   Ú,pip._internal.operations.build.build_trackerr   Úpip._internal.req.req_installr   Úpip._internal.utils._logr    Ú&pip._internal.utils.direct_url_helpersr!   r"   Úpip._internal.utils.hashesr#   r$   Úpip._internal.utils.loggingr%   Úpip._internal.utils.miscr&   r'   r(   r)   Úpip._internal.utils.temp_dirr*   Úpip._internal.utils.unpackingr+   Úpip._internal.vcsr,   rR   rx   rû   r:   rV   rü   rD   rG   rf   ri   rq   ra   r~   rY   rE   r9   Ú<module>r     s0  ðñó Û 	Û Ý !Ý ß 1Ó 1å 9å QÝ G÷÷ ñ õ =ß NÝ 7Ý *Ý ,ß F÷õ 5Ý EÝ <Ý .÷÷ =Ý 2÷ó õ 7Ý 5Ý !á	�8Ó	€ð5Ø	ð5àð5ð ð5ð ð	5ð
 ð5ð ô5ð$N˜$ð N¨#ð N¸#ð NÀ$ô Nð ÷Cð Có ðCð #'Ø#ñ	)Ø
ð)àð)ð ˜3‘-ð)ð �VÑð	)ð
 
õ)ð2 PTñ!Ø
ð!Ø& s™mð!Ø<DÀVÑ<Lð!à	õ!ð: #'Ø#ñ(Ø
ð(àð(ð ð(ð ð	(ð
 ˜3‘-ð(ð �VÑð(ð ˆd�^õ(ð^ #'ñ	Ø
ðàðð �VÑðð  ð	ð
 ˆc�]õ÷<EJò EJrE   