
    4ՔhA                        S SK Jr  S SKrS SK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  S SKJr  S SKJr  SS	 jrSS
 jr\" S/ SQ5      r          SS jrg)    )annotationsN)
namedtuple)Any)InvalidRequirement)InstallationErrorInvalidPyProjectBuildRequiresMissingPyProjectBuildRequires)tomllib)get_requirementc                T    [        U [        5      =(       a    [        S U  5       5      $ )Nc              3  B   #    U  H  n[        U[        5      v   M     g 7f)N)
isinstancestr).0items     O/var/www/auris/envauris/lib/python3.13/site-packages/pip/_internal/pyproject.py	<genexpr>"_is_list_of_str.<locals>.<genexpr>   s     (O34D#)>)>3s   )r   listall)objs    r   _is_list_of_strr      s    c4 OS(O3(O%OO    c                B    [         R                  R                  U S5      $ )Nzpyproject.toml)ospathjoin)unpacked_source_directorys    r   make_pyproject_pathr      s    77<<13CDDr   BuildSystemDetails)requiresbackendcheckbackend_pathc                ^   [         R                  R                  U5      n[         R                  R                  U5      nU(       d  U(       d  [        U S35      eU(       aI  [	        USS9 n[
        R                  " UR                  5       5      nSSS5        WR                  S5      nOSnU(       a  U(       d  U b  U (       d  [        S5      eSn OU(       a0  SU;   a*  U b$  U (       d  [        S	R                  US   5      5      eSn O[U cX  U=(       dO    [        R                  R                  S
5      (       + =(       d$    [        R                  R                  S5      (       + n U c   eU (       d  gUc  S/SS.nUc   eSU;  a	  [        US9eUS   n	[        U	5      (       d
  [        USS9eU	 H  n
 [!        U
5        M     UR                  S5      nUR                  S/ 5      n/ nUc  SnS/n[%        XX5      $ ! , (       d  f       GNr= f! ["         a  n[        USU
< 3S9UeSnAff = f)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)encodingNzbuild-systemzIDisabling PEP 517 processing is invalid: project does not have a setup.pyTbuild-backendzbDisabling PEP 517 processing is invalid: project specifies a build backend of {} in pyproject.toml
setuptoolswheelzsetuptools>=40.8.0z setuptools.build_meta:__legacy__)r!   r'   r!   )packagezIt is not a list of strings.)r*   reasonz$It contains an invalid requirement: zbackend-path)r   r   isfiler   openr
   loadsreadgetformat	importlibutil	find_specr	   r   r   r   r   r    )
use_pep517pyproject_tomlsetup_pyreq_namehas_pyproject	has_setupfpp_tomlbuild_systemr!   requirementerrorr"   r$   r#   s                  r   load_pyproject_tomlr@       sE   0 GGNN>2Mx(Ij = >
 	

 .73qmmAFFH-G 4{{>2 Y!*#3  
	/\9!*#$$*F<+H$I 
 
 
	 5>>++L995>>++G44 	 !!!  ..?
 ### %+H== J'H8$$+1
 	
  	K(   /G##NB7LE 5%&hEEi 43x " 	/ =k_M 	s$   ,%G<4H<
H
H,H''H,)r   r   returnbool)r   r   rA   r   )
r5   zbool | Noner6   r   r7   r   r8   r   rA   zBuildSystemDetails | None)
__future__r   importlib.utilr2   r   collectionsr   typingr   "pip._vendor.packaging.requirementsr   pip._internal.exceptionsr   r   r	   pip._internal.utils.compatr
   pip._internal.utils.packagingr   r   r   r    r@    r   r   <module>rL      s    "  	 "  A 
 / 9PE  J 
VFVF-0VF<?VFKNVFVFr   