§
    
Á³gK  ã                   óÖ   — d dl Zd dl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mZ d dlmZmZmZ dedefd	„Zd
edefd„Z edg d¢¦  «        Zdee         dedededee         f
d„ZdS )é    N)Ú
namedtuple)ÚAnyÚListÚOptional)Útomli)ÚInvalidRequirementÚRequirement)ÚInstallationErrorÚInvalidPyProjectBuildRequiresÚMissingPyProjectBuildRequiresÚobjÚreturnc                 ó^   — t          | t          ¦  «        ot          d„ | D ¦   «         ¦  «        S )Nc              3   ó@   K  — | ]}t          |t          ¦  «        V — Œd S )N)Ú
isinstanceÚstr)Ú.0Úitems     úU/var/www/html/mpstechhub/venv/lib/python3.11/site-packages/pip/_internal/pyproject.pyú	<genexpr>z"_is_list_of_str.<locals>.<genexpr>   s,   è è € Ð(OÐ(OÀ4­°D½#Ñ)>Ô)>Ð(OÐ(OÐ(OÐ(OÐ(OÐ(Oó    )r   ÚlistÚall)r   s    r   Ú_is_list_of_strr      s.   € Ý�c�4Ñ Ô ÐO¥SÐ(OÐ(OÈ3Ð(OÑ(OÔ(OÑ%OÔ%OÐOr   Úunpacked_source_directoryc                 óB   — t           j                             | d¦  «        S )Nzpyproject.toml)ÚosÚpathÚjoin)r   s    r   Úmake_pyproject_pathr       s   € ÝŒ7�<Š<Ð1Ð3CÑDÔDÐDr   ÚBuildSystemDetails)ÚrequiresÚbackendÚcheckÚbackend_pathÚ
use_pep517Úpyproject_tomlÚsetup_pyÚreq_namec                 ó  — t           j                             |¦  «        }t           j                             |¦  «        }|s|st          |› d�¦  «        ‚|ret	          |d¬¦  «        5 }t          j        |                     ¦   «         ¦  «        }ddd¦  «         n# 1 swxY w Y   |                     d¦  «        }nd}|r|s| �| st          d¦  «        ‚d} nY|r3d|v r/| �*| s(t          d	 	                    |d         ¦  «        ¦  «        ‚d} n$| €"|pt          j                             d
¦  «         } | €J ‚| sdS |€ddgddœ}|€J ‚d|vrt          |¬¦  «        ‚|d         }	t          |	¦  «        st          |d¬¦  «        ‚|	D ]9}
	 t!          |
¦  «         Œ# t"          $ r}t          |d|
›�¬¦  «        |‚d}~ww xY w|                     d¦  «        }|                     dg ¦  «        }g }|€d}dg}t%          |	|||¦  «        S )aB  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Ú
setuptoolszsetuptools>=40.8.0Úwheelz 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!   )r&   r'   r(   r)   Úhas_pyprojectÚ	has_setupÚfÚpp_tomlÚbuild_systemr"   ÚrequirementÚerrorr#   r%   r$   s                  r   Úload_pyproject_tomlrA      s  € õ0 ”G—N’N >Ñ2Ô2€MÝ”—’˜xÑ(Ô(€Iàð 
 ð 
ÝØð >ð >ð >ñ
ô 
ð 	
ð
 ð Ý�.¨7Ð3Ñ3Ô3ð 	,°qÝ”k !§&¢&¡(¤(Ñ+Ô+ˆGð	,ð 	,ð 	,ñ 	,ô 	,ð 	,ð 	,ð 	,ð 	,ð 	,ð 	,øøøð 	,ð 	,ð 	,ð 	,à—{’{ >Ñ2Ô2ˆˆàˆð ð Q˜Yð QØÐ!¨*Ð!Ý#ð3ñô ð ð ˆ
ˆ
Ø	ð Q˜/¨\Ð9Ð9ØÐ!¨*Ð!Ý#ð$ç$*¢F¨<¸Ô+HÑ$IÔ$Iñô ð ð
 ˆ
ˆ
ð 
Ð	Ø"ÐP­)¬.×*BÒ*BÀ<Ñ*PÔ*PÐ&Pˆ
ð Ð!Ð!Ð!ð ð ØˆtàÐð .¨wÐ7Ø?ð
ð 
ˆð Ð#Ð#Ð#ð ˜Ð%Ð%Ý+°HÐ=Ñ=Ô=Ð=ð ˜JÔ'€HÝ˜8Ñ$Ô$ð 
Ý+ØØ1ð
ñ 
ô 
ð 	
ð  ð ð ˆð	Ý˜Ñ$Ô$Ð$Ð$øÝ!ð 	ð 	ð 	Ý/Ø ØM¸kÐMÐMðñ ô ð ðøøøøð	øøøð ×Ò˜Ñ/Ô/€GØ×#Ò# N°BÑ7Ô7€LØ€EØ€ð 5ˆØ%Ð&ˆå˜h¨°¸ÑEÔEÐEs*   Á('BÂBÂ"BÆFÆ
F;Æ!F6Æ6F;)Úimportlib.utilr7   r   Úcollectionsr   Útypingr   r   r   Úpip._vendorr   Ú"pip._vendor.packaging.requirementsr   r	   Úpip._internal.exceptionsr
   r   r   Úboolr   r   r    r!   rA   © r   r   ú<module>rJ      s|  ðØ Ð Ð Ð Ø 	€	€	€	Ø "Ð "Ð "Ð "Ð "Ð "Ø &Ð &Ð &Ð &Ð &Ð &Ð &Ð &Ð &Ð &à Ð Ð Ð Ð Ð Ø NÐ NÐ NÐ NÐ NÐ NÐ NÐ Nðð ð ð ð ð ð ð ð ð ðP˜ð P ð Pð Pð Pð PðE°3ð E¸3ð Eð Eð Eð Eð  �ZØÐJÐJÐJñô Ð ð
QFØ˜”ðQFØ03ðQFØ?BðQFØNQðQFàÐ Ô!ðQFð QFð QFð QFð QFð QFr   