+
     hv  c                   s    ^ RI t^ RIt^ RIt^ RIHt ^ RIHtHtH	t	 ]P                  R8  d   ^ RItM^ RIHt ^ RIHt ^ RIHtHtHt ^ RIHt R R	 ltR
 R lt]! R. RO4      tR R ltR# )i    N)
namedtuple)AnyListOptional)tomli)InvalidRequirement)InstallationErrorInvalidPyProjectBuildRequiresMissingPyProjectBuildRequires)get_requirementc                s0    V ^8  d   QhR\         R\        /# )   objreturn)r   boolformat   "</usr/lib/python3.14/site-packages/pip/_internal/pyproject.py__annotate__r      s     P P P P    c                 s    \        V \        4      ;'       d5    \        ;QJ d    R  V  4       F  '       d   K   R# 	  R# ! R  V  4       4      # )c              3   sB   "   T F  p\        V\        4      x  K  	  R # 5i)N)
isinstancestr)Z.0Zitems   & r   Z	<genexpr>Z"_is_list_of_str.<locals>.<genexpr>   s     (O34D#)>)>3s   FT)r   ZlistZall)r      &r   _is_list_of_strr      s:    c4 OOSS(O3(OSSOSOS(O3(O%OOr   c                s0    V ^8  d   QhR\         R\         /# )r
   unpacked_source_directoryr   )r   r   r   r   r   r      s     E E3 E3 Er   c                 sB    \         P                  P                  V R 4      # )zpyproject.toml)ospathZjoin)r   r   r   make_pyproject_pathr      s    77<<13CDDr   BuildSystemDetailsc                s    V ^8  d   QhR\         \        ,          R\        R\        R\        R\         \        ,          /# )r
   
use_pep517pyproject_tomlsetup_pyreq_namer   )r   r   r   r   r   r   r   r   r   #   sL     VF VFVF03VF?BVFNQVF !VFr   c                s   \         P                  P                  V4      p\         P                  P                  V4      pV'       g   V'       g   \        V R24      hV'       dU   \	        VRR7      ;_uu_ 4       p\
        P                  ! VP                  4       4      pRRR4       XP                  R4      pMRpV'       d#   V'       g   V e   V '       g   \        R4      hRp MV'       d8   RV9   d1   V e*   V '       g"   \        R	P                  VR,          4      4      hRp M^V f[   T;'       gQ    \        P                  P                  R
4      '       * ;'       g%    \        P                  P                  R4      '       * p V '       g   R# Vf   RR.RR/pRV9  d   \        VR7      hVR,          p	\        V	4      '       g   \        VRR7      hV	 F  p
 \!        V
4       K  	  VP                  R4      pVP                  R. 4      p. pVf   RpR.p\%        WW4      #   + '       g   i     EL; i  \"         d   p\        TRT
: 2R7      ThRp?ii ; i)a  Load the pyproject.toml file.

Parameters:
    use_pep517 - Has the user requested PEP 517 processing? None
                 means the user hasn't explicitly specified.
    pyproject_toml - Location of the project's pyproject.toml file
    setup_py - Location of the project's setup.py file
    req_name - The name of the requirement we're processing (for
               error reporting)

Returns:
    None if we should use the legacy code path, otherwise a tuple
    (
        requirements from pyproject.toml,
        name of PEP 517 backend,
        requirements we should check are installed after setting
            up the build environment
        directory paths to import the backend from (backend-path),
            relative to the project root.
    )
zW does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found.zutf-8)ZencodingNzbuild-systemzIDisabling PEP 517 processing is invalid: project does not have a setup.pyTzbuild-backendzbDisabling PEP 517 processing is invalid: project specifies a build backend of {} in pyproject.tomlZ
setuptoolsZwheelrequireszsetuptools>=40.8.0z setuptools.build_meta:__legacy__)packagezIt is not a list of strings.)r"   Zreasonz$It contains an invalid requirement: zbackend-path)r   r   Zisfiler   ZopentomllibZloadsZreadZgetr   	importlibZutilZ	find_specr   r   r   r	   r   r   )r   r   r   r    Zhas_pyprojectZ	has_setupZfZpp_tomlZbuild_systemr!   ZrequirementZerrorbackendbackend_pathchecks   &&&&           r   load_pyproject_tomlr(   #   s?   0 GGNN>2Mx(Ij = >
 	

 .733qmmAFFH-G 4{{>2 Y!*#3  
	/\9!*#$$*F<+H$I 
 
 
	 5 5>>++L995 5>>++G44 	  -.?
 %+H== J'H8$$+1
 	
  	K(   /G##NB7LE 5%&hEEi 433x " 	/ =k_M 	s$   :%H H4 H1	4I?II)i   i   )r!   r%   r'   r&   )Zimportlib.utilr$   r   ZsysZcollectionsr    Ztypingr   r   r   Zversion_infor#   Zpip._vendorr   Z"pip._vendor.packaging.requirementsr   Zpip._internal.exceptionsr   r   r   Zpip._internal.utils.packagingr	   r   r   r   r(   ) r   r   <module>r)      sc     	 
 " & &w, A 
 :PE  J 
VFr   