
    q"h̋                        S SK r S SKrS SKrS SK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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  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+J,r,J-r-J.r.  S SK/J0r0  S SK1J2r2  S SK3J4r4  S SK5J6r6  S SK7J8r8  S SK9J6r:  S SK;J<r=  S SK>J?r?  S SK@JArAJBrB  S SKCJDrD  S SKEJFrF  S SKGJHrH  S SKIJJrJJKrKJLrLJMrMJNrNJOrOJPrPJQrQ  S SKRJSrS  S SKTJUrU  S SKVJWrWJXrX  S SKYJZrZ  S S K[J\r\  S S!K]J^r^  \R                  " \`5      ra " S" S#5      rbS$\bS%\c4S& jrdS'\S(\\b   S)\cS%\e4S* jrfS'\S(\\b   S%S4S+ jrgg),    N)Values)Path)Any
CollectionDictIterableListOptionalSequenceUnion)Marker)Requirement)SpecifierSet)canonicalize_name)Version)parse)BuildBackendHookCaller)BuildEnvironmentNoOpBuildEnvironment)InstallationErrorPreviousBuildDirError)
get_scheme)BaseDistributionget_default_environmentget_directory_distributionget_wheel_distribution)FilesystemWheel)	DirectUrl)Link)generate_metadata)generate_editable_metadata)install_editable)install_wheel)load_pyproject_tomlmake_pyproject_path)UninstallPathSet)
deprecated)Hashes) ConfiguredBuildBackendHookCallerask_path_exists
backup_dirdisplay_pathhide_urlis_installable_dirredact_auth_from_requirementredact_auth_from_url)get_requirement)runner_with_spinner_message)TempDirectorytempdir_kinds)unpack_file)running_under_virtualenv)vcsc                    $   \ rS rSrSr     SNSSSSSSSS.S\\   S\\\S 4      S	\	S
\\
   S\\   S\\	   S\	S\\\      S\\\\\   4      S\\\\\\\   4   4      S\	S\\   S\	S\	SS4S jjjrS\4S jrS\4S jrS\4S jr\S\\   4S j5       r\R,                  S\	4S j5       r\S\4S j5       r\S\	4S j5       r\S\	4S j5       rSOS\\\      S\	4S  jjr\S\	4S! j5       rSPS"\	S\4S# jjr S\\   4S$ jr!S%\S&\	S'\	S\4S( jr"SQS) jr#SQS* jr$S+\	SS4S, jr%\S\	4S- j5       r&\S\	4S. j5       r'\S\4S/ j5       r(\S\4S0 j5       r)\S\4S1 j5       r*\S\4S2 j5       r+SQS3 jr,SQS4 jr-SQS5 jr.\S\/4S6 j5       r0S\14S7 jr2SQS8 jr3  SRS9\S&\	S'\	SS4S: jjr4S;\5SS4S< jr6SQS= jr7SQS> jr8 SRS?\	S@\	S\\9   4SA jjr:SB\SC\SD\S\4SE jr;S%\\   SS4SF jr<       SSS\\=\      SG\\   SH\\   SI\\   SJ\	S+\	SK\	SS4SL jjr>SMr?g)TInstallRequirementA   z
Represents something that may be installed later on, may have information
about where to fetch the relevant requirement and also contains logic for
installing the said requirement.
FN )global_optionshash_optionsconfig_settings
constraintextrasuser_suppliedpermit_editable_wheelsreq
comes_fromeditablelinkmarkers
use_pep517isolatedr<   r=   r>   r?   r@   rA   rB   returnc                   Ub  [        U[        5      (       d   U5       eXl        X l        Xl        X0l        Xl        S U l        U R
                  (       ae  U(       d   eUR                  (       aK  [        R                  R                  [        R                  R                  UR                  5      5      U l        Uc-  U(       a&  UR                  (       a  [        UR                  5      nU=U l        U l        S U l        S U l        S U l        U R                   (       a6  U R                   R                  (       a  U R                   R                  U l        U(       a  Xl        O(U(       a  UR*                  U l        O[-        5       U l        Uc  U(       a  UR.                  nXPl        S U l        SU l        S U l        S U l        U(       a  UO/ U l        U	(       a  U	O0 U l        Xl        SU l         Xl!        Xpl"        [G        5       U l$        S U l%        S U l&        / U l'        S U l(        X`l)        U R>                  (       a,  U RR                  SL a  [T        RW                  SU 5        SU l)        SU l,        S U l-        g )NFzG--no-use-pep517 ignored for %s because --config-settings are specified.T).
isinstancer   rC   rD   r?   rE   rB   
source_diris_fileospathnormpathabspath	file_pathurlr   rF   original_linkcached_wheel_source_linkdownload_infolocal_file_pathr@   setmarkerrG   satisfied_byshould_reinstall_temp_build_dirinstall_succeededr<   r=   r>   preparedrA   rI   r   	build_envmetadata_directorypyproject_requiresrequirements_to_checkpep517_backendrH   loggerwarningneeds_more_preparation_archive_source)selfrC   rD   rE   rF   rG   rH   rI   r<   r=   r>   r?   r@   rA   rB   s                  O/var/www/html/env/lib/python3.13/site-packages/pip/_internal/req/req_install.py__init__InstallRequirement.__init__H   s   $ {jk::?C?:$$ &<# *.==K4||"$''"2"2277??4>>3R"S <CCGG=D)--	D&
 9=% 37 /399**#'99#6#6D  K**DK%DK?sjjG 9= !&8<150>nB,8Lb. + +?+A 26 8< 13" AE % %'?
 #DO ',# 04    c                    U R                   (       aL  [        U R                   5      nU R                  (       a%  US[        U R                  R                  5       3-  nO3U R                  (       a   [        U R                  R                  5      nOSnU R
                  bA  U R
                  R                  b   [        U R
                  R                  5      nOSnUSU 3-  nU R                  (       aV  [        U R                  [        5      (       a  U R                  nOU R                  R                  5       nU(       a	  USU S3-  nU$ )Nz from z<InstallRequirement>z<memory> in z (from ))rC   r/   rF   r0   rT   r[   locationr,   rD   rL   str	from_path)ri   srq   rD   s       rj   __str__InstallRequirement.__str__   s    88,TXX6Ayyv2499==ABCCYY$TYY]]3A&A(  ))5'(9(9(B(BC%4z""A??$//3//,0OO
!__668
wzl!,,rm   c                 j    SU R                   R                   S[        U 5       SU R                  < S3$ )N<z	 object: z
 editable=>)	__class____name__rr   rE   ri   s    rj   __repr__InstallRequirement.__repr__   s6    ''(	4ykDMM#4A7	
rm   c                    ^ [        U 5      m[        T5      nU4S j[        U5       5       nSR                  U R                  R                  SR                  U5      S9$ )z5An un-tested helper for getting state, for debugging.c              3   8   >#    U  H  o S TU   < 3v   M     g7f)=Nr;   ).0attr
attributess     rj   	<genexpr>2InstallRequirement.format_debug.<locals>.<genexpr>   s      JMD6:d+./Ms   z<{name} object: {{{state}}}>z, )namestate)varssortedformatrz   r{   join)ri   namesr   r   s      @rj   format_debugInstallRequirement.format_debug   sU    $Z
z"JF5MJ-44(())E" 5 
 	
rm   c                 J    U R                   c  g U R                   R                  $ N)rC   r   r|   s    rj   r   InstallRequirement.name   s    88xx}}rm   c                 j   U R                   (       d  gU R                  (       d   eU R                     [        S5      nU R                  R	                  U5         SU R                  R                  5       ;   sS S S 5        sS S S 5        $ ! , (       d  f       O= f S S S 5        g ! , (       d  f       g = f)NFz1Checking if build backend supports build_editablebuild_editable)rH   rd   r`   r2   subprocess_runner_supported_features)ri   runners     rj   supports_pyproject_editable.InstallRequirement.supports_pyproject_editable   s    """"^^0CF $$66v>'4+>+>+R+R+TT ?>	 ^ ?>>	 ^^s#   'B$B	6	B$	
B	B$$
B2c                 L    U R                   c   eU R                   R                  $ r   )rC   	specifierr|   s    rj   r   InstallRequirement.specifier  s"    xx###xx!!!rm   c                     U R                   SL$ )z7Whether this requirement was specified as a direct URL.N)rU   r|   s    rj   	is_directInstallRequirement.is_direct	  s     !!--rm   c                     U R                   c   eU R                   R                  n[        U5      S:H  =(       a!    [        [	        U5      5      R
                  S;   $ )ztReturn whether I am pinned to an exact version.

For example, some-package==1.2 is pinned; some-package>1.2 is not.
   >   =====)rC   r   lennextiteroperator)ri   
specifierss     rj   	is_pinnedInstallRequirement.is_pinned  sL     xx###XX''
:!#XT*-=(>(G(G=(XXrm   extras_requestedc                 \   ^  U(       d  SnT R                   b  [        U 4S jU 5       5      $ g)N) c              3   ^   >#    U  H"  nTR                   R                  S U05      v   M$     g7f)extraN)rG   evaluate)r   r   ri   s     rj   r   3InstallRequirement.match_markers.<locals>.<genexpr>  s,      EUE%%w&677EUs   *-T)rG   any)ri   r   s   ` rj   match_markers InstallRequirement.match_markers  s7      %<<# EU   rm   c                 ,    [        U R                  5      $ )zReturn whether any known-good hashes are specified as options.

These activate --require-hashes mode; hashes specified as part of a
URL do not.

)boolr=   r|   s    rj   has_hash_options#InstallRequirement.has_hash_options$  s     D%%&&rm   trust_internetc                    U R                   R                  5       nU(       a  U R                  nO1U R                  (       a  U R                  (       a  U R
                  nOSnU(       aU  UR                  (       aD  UR                  c   eUR                  UR                  / 5      R                  UR                  5        [        U5      $ )aW  Return a hash-comparer that considers my option- and URL-based
hashes to be known-good.

Hashes in URLs--ones embedded in the requirements file, not ones
downloaded from an index server--are almost peers with ones from
flags. They satisfy --require-hashes (whether it was implicitly or
explicitly activated) but do not activate it. md5 and sha224 are not
allowed in flags, which should nudge people toward good algos. We
always OR all hashes together, even ones from URLs.

:param trust_internet: Whether to trust URL-based (#md5=...) hashes
    downloaded from the internet, as by populate_link()

N)r=   copyrF   r   rA   rU   hash	hash_name
setdefaultappendr(   )ri   r   good_hashesrF   s       rj   hashesInstallRequirement.hashes.  s     '',,.99D^^ 2 2%%DDDII>>---""4>>26==diiHk""rm   c                    U R                   c  g[        U R                   5      nU R                  (       aU  [        U R                  [        5      (       a  U R                  nOU R                  R	                  5       nU(       a  USU-   -  nU$ )z8Format a nice indicator to show where this "comes from" Nz->)rC   rr   rD   rL   rs   )ri   rt   rD   s      rj   rs   InstallRequirement.from_pathI  sf    88M??$//3//!__
!__668
TJ&&rm   	build_dir
autodeleteparallel_buildsc                    Uc   eU R                   b3  U R                   R                  (       d   eU R                   R                  $ U R                  c3  [        [        R
                  SS9U l         U R                   R                  $ [        U R                  R                  5      nU(       a$  U S[        R                  " 5       R                   3n[        R                  R                  U5      (       d,  [        R                  SU5        [        R                  " U5        [        R                  R!                  X5      nU(       a  S OSn[        UU[        R
                  SS9R                  $ )NT)kindglobally_managed_zCreating directory %sF)rP   deleter   r   )r]   rP   rC   r3   r4   	REQ_BUILDr   r   uuiduuid4hexrO   existsre   debugmakedirsr   )ri   r   r   r   dir_nameactual_build_dir
delete_args          rj   ensure_build_location(InstallRequirement.ensure_build_locationX  s#    $$$+'',,,,'',,,88 $1",,t$D  '',,, *$((--8"1TZZ\%5%5$67H ww~~i((LL0)<KK	"77<<	< (TU
!((!	

 $	rm   c                 6   U R                   b   eU R                  c   eU R                  c   e[        [	        U R                  S   5      [
        5      (       a  SnOSn[        SR                  U R                  S   UU R                  S   /5      5      U l         g)z*Set requirement after generating metadata.Nr   r   r   r   Name)rC   metadatarM   rL   parse_versionr   r1   r   )ri   ops     rj   _set_requirement#InstallRequirement._set_requirement  s    xx}}(((*** mDMM)$<=wGGBB"GGMM&)MM),
rm   c                    U R                   c   e[        U R                  S   5      n[        U R                   R                  5      U:X  a  g [        R                  SU R                  UU R                  5        [        U5      U l         g )Nr   zeGenerating metadata for package %s produced metadata for project name %s. Fix your #egg=%s fragments.)rC   r   r   r   re   rf   r1   )ri   metadata_names     rj   warn_on_mismatching_name+InstallRequirement.warn_on_mismatching_name  sq    xx###)$--*?@TXX]]+}< 	! IIII	
 #=1rm   use_user_sitec                 ,   U R                   c  g[        5       R                  U R                   R                  5      nU(       d  gU R                   R                  R                  UR                  SS9nU(       dv  SU l        U(       a`  UR                  (       a  SU l	        g[        5       (       a7  UR                  (       a%  [        SUR                   SUR                   35      eggSU l	        gU R                  (       a  SU l	        SU l        gX l        g)zFind an installed distribution that satisfies or conflicts
with this requirement, and set self.satisfied_by or
self.should_reinstall appropriately.
NT)prereleaseszNWill not install to the user site because it will lack sys.path precedence to ro   )rC   r   get_distributionr   r   containsversionr[   in_usersiter\   r6   in_site_packagesr   raw_namerq   rE   )ri   r   existing_distversion_compatibles       rj   check_if_exists"InstallRequirement.check_if_exists  s    
 88/1BB488==Q!XX//88!! 9 
 " $D ,,,0D)-//M4R4R+77D7M7M6N O+4457  5S/ )-%}}(,% %)!$1!rm   c                 R    U R                   (       d  gU R                   R                  $ )NF)rF   is_wheelr|   s    rj   r   InstallRequirement.is_wheel  s    yyyy!!!rm   c                     U R                   S L$ r   )rV   r|   s    rj   is_wheel_from_cache&InstallRequirement.is_wheel_from_cache  s     ,,D88rm   c                     U R                   (       d
   SU  35       e[        R                  R                  U R                   U R                  =(       a    U R                  R
                  =(       d    S5      $ )NNo source dir for r   )rM   rO   rP   r   rF   subdirectory_fragmentr|   s    rj   unpacked_source_directory,InstallRequirement.unpacked_source_directory  sQ    ;"4TF ;;ww||OOTYYJ499+J+JPb
 	
rm   c                     U R                   (       d
   SU  35       e[        R                  R                  U R                  S5      nU$ )Nr   zsetup.pyrM   rO   rP   r   r   )ri   setup_pys     rj   setup_py_path InstallRequirement.setup_py_path  s:    ;"4TF ;;77<< > >
Krm   c                     U R                   (       d
   SU  35       e[        R                  R                  U R                  S5      nU$ )Nr   z	setup.cfgr   )ri   	setup_cfgs     rj   setup_cfg_path!InstallRequirement.setup_cfg_path  s;    ;"4TF ;;GGLL!?!?M	rm   c                 b    U R                   (       d
   SU  35       e[        U R                  5      $ )Nr   )rM   r%   r   r|   s    rj   pyproject_toml_path&InstallRequirement.pyproject_toml_path  s,    ;"4TF ;;"4#A#ABBrm   c                    [        U R                  U R                  U R                  [	        U 5      5      nUc  U R
                  (       a   eSU l        gSU l        Uu  p#pEX@l        X l        [        U U R                  UUS9U l
        g)a  Load the pyproject.toml file.

After calling this routine, all of the attributes related to PEP 517
processing for this requirement have been set. In particular, the
use_pep517 attribute can be used to determine whether we should
follow the PEP 517 or legacy (setup.py) code path.
NFT)backend_path)r$   rH   r  r   rr   r>   rc   rb   r)   r   rd   )ri   pyproject_toml_datarequiresbackendcheckr	  s         rj   r$   &InstallRequirement.load_pyproject_toml  s     2OOT55t7I7I3t9
 &++++#DO1D.5%*""*>**%	
rm   c                 H   U R                   (       a  U R                  (       a  U R                  (       dm  [        R                  R                  U R                  5      (       d>  [        R                  R                  U R                  5      (       d  [        SU  S35      eggggg)zCheck that an editable requirement if valid for use with PEP 517/518.

This verifies that an editable that has a pyproject.toml either supports PEP 660
or as a setup.py or a setup.cfg
zProject z has a 'pyproject.toml' and its build backend is missing the 'build_editable' hook. Since it does not have a 'setup.py' nor a 'setup.cfg', it cannot be installed in editable mode. Consider using a build backend that supports PEP 660.N)	rE   rH   r   rO   rP   isfiler   r  r   r|   s    rj   isolated_editable_sanity_check1InstallRequirement.isolated_editable_sanity_check  s     MM44GGNN4#5#566GGNN4#6#677#4& !H I  8 7 5   rm   c                    U R                   (       d
   SU  35       eU R                  =(       d    SU R                   3nU R                  (       a  U R                  c   eU R
                  (       aG  U R                  (       a6  U R                  (       a%  [        U R                  U R                  US9U l
        O_[        U R                  U R                  US9U l
        O:[        U R                  U R                  U R                  U R                  US9U l
        U R                  (       d  U R!                  5         OU R#                  5         U R%                  5         g)zEnsure that project metadata is available.

Under PEP 517 and PEP 660, call the backend hook to prepare the metadata.
Under legacy processing, call setup.py egg-info.
r   zfrom N)r`   r  details)r`   r   rM   rI   r  )rM   r   rF   rH   rd   rE   rB   r   r!   r`   ra   r    generate_metadata_legacyr   r   rI   r   r   assert_source_matches_version)ri   r  s     rj   prepare_metadata#InstallRequirement.prepare_metadata)  s	    ;"4TF ;;))2tyyk2??&&222//44*D"nn //#+' +<"nn //#+' '?.."0099'D# yy!!#))+**,rm   c                 z    [        U S5      (       d  U R                  5       R                  U l        U R                  $ )N	_metadata)hasattrget_distr   r  r|   s    rj   r   InstallRequirement.metadataU  s,    t[))!]]_55DN~~rm   c                 F   U R                   (       a  [        U R                   5      $ U R                  (       a\  U R                  (       aK  U R                  c   e[        [        U R                  5      [        U R                  R                  5      5      $ [        SU  S35      e)NzInstallRequirement zC has no metadata directory and no wheel: can't make a distribution.)
ra   r   rX   r   rC   r   r   r   r   AssertionErrorr|   s    rj   r  InstallRequirement.get_dist\  s    ""-d.E.EFF!!dmm88''') 4 45!$((--0  !$ () *
 	
rm   c                 h   U R                   (       d
   SU  35       eU R                  S   nU R                  (       aL  U R                  R                  (       a1  XR                  R                  ;  a  [        R                  SU U5        g [        R                  S[        U R                   5      UU 5        g )Nr   r   z'Requested %s, but installing version %sz;Source in %s has version %s, which satisfies requirement %s)rM   r   rC   r   re   rf   r   r,   )ri   r   s     rj   r  0InstallRequirement.assert_source_matches_versionj  s    ;"4TF ;;--	*88**whh>P>P/PNN9 LLMT__-	rm   
parent_dirc                 L    U R                   c  U R                  UUUS9U l         gg)a  Ensure that a source_dir is set.

This will create a temporary build dir if the name of the requirement
isn't known yet.

:param parent_dir: The ideal pip parent_dir for the source_dir.
    Generally src_dir for editables and build_dir for sdists.
:return: self.source_dir
N)r   r   )rM   r   )ri   r#  r   r   s       rj   ensure_has_source_dir(InstallRequirement.ensure_has_source_dir|  s3     ??""88% / 9 DO #rm   archive_sourcec                 .    U R                   b   eXl         g r   )rh   )ri   r'  s     rj   needs_unpacked_archive)InstallRequirement.needs_unpacked_archive  s    ##+++-rm   c                     U R                   c   eU R                  b*  [        [        U R                  5      U R                   5        g[	        U R                   5      (       a  [        SU  SU R                    S35      eg)z6Ensure the source directory has not yet been built in.Nz%pip can't proceed with requirements 'z)' due to a pre-existing build directory (z). This is likely due to a previous installation that failed . pip is being responsible and not assuming it can delete this. Please delete it and try again.)rM   rh   r5   rr   r.   r   r|   s    rj   ensure_pristine_source_checkout2InstallRequirement.ensure_pristine_source_checkout  s{    ***+D0014??C00 (7v >1150A B22 	 1rm   c                    U R                   (       d!  [        R                  SU R                  5        g U R                  (       d   eU R                  (       d   eU R                   R
                  S:X  a  g [        R                  " U R                   R
                  5      nU(       d   SU R                   R                   35       e[        U R                   R                  5      nUR                  U R                  USS9  g )Nz>Cannot update repository at %s; repository location is unknownfilezUnsupported VCS URL r   )rT   	verbosity)rF   re   r   rM   rE   schemer7   get_backend_for_schemerT   r-   obtain)ri   vcs_backend
hidden_urls      rj   update_editable"InstallRequirement.update_editable  s    yyLLP }}}99v%001A1AB B2499==/BB{diimm,
4??
aHrm   auto_confirmverbosec                 P   U R                   (       d   e[        5       R                  U R                   R                  5      nU(       d!  [        R                  SU R                  5        g[        R                  SU5        [        R                  " U5      nUR                  X5        U$ )ae  
Uninstall the distribution currently satisfying this requirement.

Prompts before removing or modifying files unless
``auto_confirm`` is True.

Refuses to delete or modify files outside of ``sys.prefix`` -
thus uninstallation within a virtual environment can only
modify that virtual environment, even if the virtualenv is
linked to global site-packages.

z#Skipping %s as it is not installed.NzFound existing installation: %s)
rC   r   r   r   re   rf   infor&   	from_distremove)ri   r8  r9  distuninstalled_pathsets        rj   	uninstallInstallRequirement.uninstall  sw     xxx&(99$((--HNN@$))L5t<.88>""<9""rm   rP   	parentdirrootdirc                     S[         S[         S[         4S jnU R                  c   e[        R                  R	                  X!5      nU" X5      nU R                  R
                  S-   U-   $ )Nr   prefixrJ   c                     U R                  U[        R                  R                  -   5      (       d   SU < SU< 35       eU [	        U5      S-   S  n U R                  [        R                  R                  S5      n U $ )Nzname z doesn't start with prefix r   /)
startswithrO   rP   sepr   replace)r   rE  s     rj   _clean_zip_name=InstallRequirement._get_archive_name.<locals>._clean_zip_name  sy    ??$  Eth9&DE  Fa)*D<<S1DKrm   rG  )rr   rC   rO   rP   r   r   )ri   rP   rB  rC  rK  r   s         rj   _get_archive_name$InstallRequirement._get_archive_name  sb    	# 	s 	s 	 xx###ww||I,t-xx}}s"T))rm   c           	      n   U R                   (       d   eUc  gSnSR                  U R                  U R                  S   5      n[        R
                  R                  X5      n[        R
                  R                  U5      (       a  [        S[        U5       S3S5      nUS:X  a  S	nOUS
:X  a6  [        R                  S[        U5      5        [        R                  " U5        OmUS:X  aK  [        U5      n[        R                  S[        U5      [        U5      5        [        R                  " XF5        OUS:X  a  [         R"                  " S5        U(       d  g[$        R&                  " US
[$        R(                  SS9nU   [        R
                  R+                  [        R
                  R-                  U R.                  5      5      n[        R0                  " U5       H  u  pnU
 HF  nU R3                  UU	US9n[$        R4                  " US-   5      nSUl        UR9                  US5        MH     U HE  nU R3                  UU	US9n[        R
                  R                  X5      nUR;                  UU5        MG     M     SSS5        [        R=                  S[        U5      5        g! , (       d  f       N.= f)zmSaves archive to provided build_dir.

Used for saving downloaded VCS requirements as part of `pip download`.
NTz	{}-{}.zipr   z	The file z- exists. (i)gnore, (w)ipe, (b)ackup, (a)bort )iwbarP  FrQ  zDeleting %srR  zBacking up %s to %srS  )
allowZip64)rB  rC  rG  i  r   zSaved %s)rM   r   r   r   rO   rP   r   r   r*   r,   re   rf   r=  r+   shutilmovesysexitzipfileZipFileZIP_DEFLATEDnormcaserR   r   walkrM  ZipInfoexternal_attrwritestrwriter;  )ri   r   create_archivearchive_namearchive_pathresponse	dest_file
zip_outputdirdirpathdirnames	filenamesdirnamedir_arcnamezipdirfilenamefile_arcnames                    rj   archiveInstallRequirement.archive  s8   
 "))$))T]]95MNww||I<77>>,''&L67 8% %$H
 3!&S}l<.HI		,'S&|4	) . +
 L4S__  	

 ''""277??43Q3Q#RSC02,9'G"&"8"8") # #9 #K
 %__[3->?F+6F(''3  ( !*H#'#9#9 ") # $: $L
  "ww||G>H$$X|< !* 1= * 	J\ :;+ Zs    C>J&&
J4roothomerE  warn_script_location	pycompilec                 
   U R                   c   e[        U R                   R                  UUUU R                  US9nU R                  (       a  U R
                  (       d  [        SU  S3SSSS9  U R                  (       a  [        R                  SU 5        [        Ub  UO/ UUUU R                   R                  U R                  U R                  U R                  U R                  S	9	  S
U l        g U R
                  (       d   eU R                  (       d   e[!        U R                   R                  U R                  U[#        U R                   5      UUU R$                  (       a  U R&                  OS U R(                  S9  S
U l        g )N)userru  rt  rI   rE  zLegacy editable install of z" (setup.py develop) is deprecated.zto add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information25.3i,  reasonreplacementgone_inissuez--config-settings ignored for legacy editable install of %s. Consider upgrading to a version of setuptools that supports PEP 660 (>= 64).)	r<   rE  ru  r   r   r   rI   r`   r   T)r1  req_descriptionrw  rv  
direct_url	requested)rC   r   r   rI   rE   r   r'   r>   re   rf   install_editable_legacyr   r`   r   r^   rX   r#   rr   r   rW   rA   )	ri   r<   rt  ru  rE  rv  r   rw  r1  s	            rj   installInstallRequirement.install'  sX    xx###HHMM]]
 ==1$ 8% %W  ##5 	 $1?1K~QS+XX]]"00..*.*H*H
 &*D"}}}####HHMM  M!5-1^^t))((		
 "&rm   ) rh   r  r]   r`   rV   rD   r>   r?   rW   rE   r@   r<   r=   r^   rI   rF   rX   rG   ra   rg   rU   rd   rB   r_   rb   rC   rc   r[   r\   rM   rH   rA   )FNNNFr   )T)rJ   N)FF)NNNNTFT)@r{   
__module____qualname____firstlineno____doc__r
   r   r   rr   r   r   r   r	   r   r   rk   ru   r}   r   propertyr   	functoolscached_propertyr   r   r   r   r   r   r   r   r(   r   rs   r   r   r   r   r   r   r   r   r  r  r$   r  r  r   r   r   r  r  r%  r   r)  r,  r6  r&   r@  rM  rr  r   r  __static_attributes__r;   rm   rj   r9   r9   A   s    #$(%)~4 /37;FJ "$#',!~4k"~4 U3(<#<=>~4 	~4
 tn~4 &!~4 TN~4 ~4 !c+~4 tCcN34~4 "$sE#tCy.,A'A"BC~4 ~4 3~4 ~4  !%!~4" 
#~4@ 0
# 
	
c 	
 hsm  
 	UT 	U 	U "< " " .4 . . Y4 Y Y
hx}.E 
QU 
 '$ ' '#T #V #68C= ))*.)AE)	)V
,2$#2T #2d #2L "$ " "
 9T 9 9 
3 
 
 s      CS C C
8**-X #  
* 
* ! %	  	
 
,.T .d .$I* ;@# #37#	"	##4*c *c *C *C *A<# A<4 A<J 37"" $%)#F& #/F& smF& sm	F&
 F& #F& F& F& 
F& F&rm   r9   rC   rJ   c                     SnU R                   (       d  SnO'U R                  (       a  SnOU R                  (       a  SnU(       a  [        SSS SS9  U$ )	Nr   z3Unnamed requirements are not allowed as constraintsz4Editable requirements are not allowed as constraintszConstraints cannot have extrasa  Constraints are only allowed to take the form of a package name and a version specifier. Other forms were originally permitted as an accident of the implementation, but were undocumented. The new implementation of the resolver no longer supports these forms.z+replacing the constraint with a requirementi   r{  )r   rE   r@   r'   )rC   problems     rj   check_invalid_constraint_typer  p  sN    G88G	H	2/ F	
 Nrm   optionsreqsoptionc                 `    [        XS 5      (       a  gU H  n[        X2S 5      (       d  M    g   g)NTF)getattr)r  r  r  rC   s       rj   _has_optionr    s1    w%%3%%  rm   c                     [        XS5      n[        XS5      nU(       d  U(       a<  [        SSSSS9  [        R                  S5        U R                  R                  5         g g )	Nbuild_optionsr<   z2--build-option and --global-option are deprecated.iS.  zto use --config-settingsrz  )r|  r  r}  r~  zTImplying --no-binary=:all: due to the presence of --build-option / --global-option. )r  r'   re   rf   format_controldisallow_binaries)r  r  has_build_optionshas_global_optionss       rj   check_legacy_setup_py_optionsr    se     $G?C$W4DE.G2		
 	1	
 	002 /rm   )hr  loggingrO   rV  rX  r   rZ  optparser   pathlibr   typingr   r   r   r   r	   r
   r   r   pip._vendor.packaging.markersr   "pip._vendor.packaging.requirementsr    pip._vendor.packaging.specifiersr   pip._vendor.packaging.utilsr   pip._vendor.packaging.versionr   r   r   pip._vendor.pyproject_hooksr   pip._internal.build_envr   r   pip._internal.exceptionsr   r   pip._internal.locationsr   pip._internal.metadatar   r   r   r   pip._internal.metadata.baser   pip._internal.models.direct_urlr   pip._internal.models.linkr   'pip._internal.operations.build.metadatar    0pip._internal.operations.build.metadata_editabler!   .pip._internal.operations.build.metadata_legacyr  0pip._internal.operations.install.editable_legacyr"   r  &pip._internal.operations.install.wheelr#   pip._internal.pyprojectr$   r%   pip._internal.req.req_uninstallr&   pip._internal.utils.deprecationr'   pip._internal.utils.hashesr(   pip._internal.utils.miscr)   r*   r+   r,   r-   r.   r/   r0   pip._internal.utils.packagingr1   pip._internal.utils.subprocessr2   pip._internal.utils.temp_dirr3   r4   pip._internal.utils.unpackingr5   pip._internal.utils.virtualenvr6   pip._internal.vcsr7   	getLoggerr{   re   r9   rr   r  r   r  r  r;   rm   rj   <module>r     s     	  
     S S S 0 : 9 9 1 @ > J M .  8 5 * E W A L < 6 -	 	 	 : F E 5 C !			8	$l& l&^'9 c 8 t,>'?  QU 33
!
"3 
3rm   