Ë
    ”U.jË  ã                  ó¦   — d dl mZ d dlZd dlmZ d dlmZ d dlmZ d dl	m
Z
mZmZ d dlmZ d dlmZ dd	„Zdd
„Z edg d¢«      Z	 	 	 	 	 	 	 	 dd„Zy)é    )ÚannotationsN)Ú
namedtuple)ÚAny)ÚInvalidRequirement)ÚInstallationErrorÚInvalidPyProjectBuildRequiresÚMissingPyProjectBuildRequires)Útomllib)Úget_requirementc                óJ   — t        | t        «      xr t        d„ | D «       «      S )Nc              3  ó<   K  — | ]  }t        |t        «      –— Œ y ­w)N)Ú
isinstanceÚstr)Ú.0Úitems     úYC:\xampp\htdocs\tradingbinance\backend\.venv\Lib\site-packages\pip/_internal/pyproject.pyÚ	<genexpr>z"_is_list_of_str.<locals>.<genexpr>   s   è ø€ Ð(OÉ3À4¬°D¼#×)>É3ùs   ‚)r   ÚlistÚall)Úobjs    r   Ú_is_list_of_strr      s   € Ü�cœ4Ó ÒO¤SÑ(OÉ3Ó(OÓ%OÐOó    c                óB   — t         j                  j                  | d«      S )Nzpyproject.toml)ÚosÚpathÚjoin)Úunpacked_source_directorys    r   Úmake_pyproject_pathr      s   € Ü�7‰7�<‰<Ð1Ð3CÓDÐDr   ÚBuildSystemDetails)ÚrequiresÚbackendÚcheckÚbackend_pathc                ó   — t         j                  j                  | «      }t         j                  j                  |«      }|s|st        |› d�«      ‚|rKt	        | d¬«      5 }t        j                  |j                  «       «      }ddd«       j                  d«      }nd}|€dgddœ}d	|vrt        |¬
«      ‚|d	   }t        |«      st        |d¬«      ‚|D ]  }		 t        |	«       Œ |j                  d«      }|j                  dg «      }g }|€d}dg}t        ||||«      S # 1 sw Y   ŒŸxY w# t        $ r}
t        |d|	›�¬«      |
‚d}
~
ww xY w)a¼  Load the pyproject.toml file.

    Parameters:
        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-systemzsetuptools>=40.8.0z setuptools.build_meta:__legacy__)r    úbuild-backendr    )ÚpackagezIt is not a list of strings.)r'   Úreasonz$It contains an invalid requirement: r&   zbackend-path)r   r   Úisfiler   Úopenr
   ÚloadsÚreadÚgetr	   r   r   r   r   r   )Úpyproject_tomlÚsetup_pyÚreq_nameÚhas_pyprojectÚ	has_setupÚfÚpp_tomlÚbuild_systemr    ÚrequirementÚerrorr!   r#   r"   s                 r   Úload_pyproject_tomlr8      s|  € ô, —G‘G—N‘N >Ó2€MÜ—‘—‘˜xÓ(€Iá¡ÜØˆjð =ð >ó
ð 	
ñ
 Ü�.¨7Õ3°qÜ—m‘m A§F¡F£HÓ-ˆG÷ 4à—{‘{ >Ó2‰àˆàÐð .Ð.Ø?ñ
ˆð ˜Ñ%Ü+°HÔ=Ð=ð ˜JÑ'€HÜ˜8Ô$Ü+ØØ1ô
ð 	
ó  ˆð	Ü˜KÕ(ð  ð ×Ñ˜Ó/€GØ×#Ñ# N°BÓ7€LØ€EØ€ð 5ˆØ%Ð&ˆä˜h¨°¸ÓEÐE÷y 4Ð3ûôH "ò 	Ü/Ø Ø=¸k¸_ÐMôð ðûð	ús$   Á $D"ÃD.Ä"D+Ä.	EÄ7EÅE)r   r   ÚreturnÚbool)r   r   r9   r   )r.   r   r/   r   r0   r   r9   r   )Ú
__future__r   r   Úcollectionsr   Útypingr   Ú"pip._vendor.packaging.requirementsr   Úpip._internal.exceptionsr   r   r	   Úpip._internal.utils.compatr
   Úpip._internal.utils.packagingr   r   r   r   r8   © r   r   Ú<module>rC      st   ðÝ "ã 	Ý "Ý å A÷ñ õ
 /Ý 9óPóEñ  ØÒJóÐ ð
\FØð\FØ#&ð\FØ25ð\Fàô\Fr   