§
    
Á³gø  ã                   ó*  — d dl Z d dlZd dlZd dlZd dlmZmZ d dlmZ d dl	m
Z
 ddej        j        › �dej        j        › dej        j        › �gZe
rddhZd	„  e j        ee¦  «        D ¦   «         Zdd
eee                  defd„Zdefd„Zdefd„ZdS )é    N)ÚListÚOptional)Úmain)ÚWINDOWSÚpipú.Ú z.exec                 ó8   — g | ]}d                       |¦  «        ‘ŒS )r	   )Újoin)Ú.0Úpartss     ú]/var/www/html/mpstechhub/venv/lib/python3.11/site-packages/pip/_internal/utils/entrypoints.pyú
<listcomp>r      s2   € ð ð ð àð 	�Š�‰Œðð ð ó    ÚargsÚreturnc                 ó^   — t           j                             d¦  «         t          | ¦  «        S )aò  Central wrapper for all old entrypoints.

    Historically pip has had several entrypoints defined. Because of issues
    arising from PATH, sys.path, multiple Pythons, their interactions, and most
    of them having a pip installed, users suffer every time an entrypoint gets
    moved.

    To alleviate this pain, and provide a mechanism for warning users and
    directing them to an appropriate place for help, we now define all of
    our old entrypoints as wrappers for the current one.
    a  WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
)ÚsysÚstderrÚwriter   )r   s    r   Ú_wrapperr      s1   € õ „J×Òð	"ñô ð õ �‰:Œ:Ðr   c                  óŽ  — t           rdnd} t          j                             t          j        | ¦  «        }t          j                             t          j                             dd¦  «        ¦  «         	                    t          j
        ¦  «        }t          j                             |¦  «        |v }|rƒt          D ]{}t          j        |¦  «        }t          j                             ||¦  «        }|rCt          j                             |¦  «        r$t          j                             ||¦  «        r|c S Œ|t!          ¦   «         › d�S )zHTry to figure out the best way to invoke pip in the current environment.ÚScriptsÚbinÚPATHr	   z -m pip)r   ÚosÚpathr   r   ÚprefixÚnormcaseÚenvironÚgetÚsplitÚpathsepÚ_EXECUTABLE_NAMESÚshutilÚwhichÚexistsÚsamefileÚ#get_best_invocation_for_this_python)Úbinary_directoryÚbinary_prefixÚ
path_partsÚexe_are_in_PATHÚexe_nameÚfound_executableÚbinary_executables          r   Ú get_best_invocation_for_this_pipr1   .   s  € å$+Ð6�y�y°ÐÝ”G—L’L¥¤Ð-=Ñ>Ô>€Mõ ”×!Ò!¥"¤*§.¢.°¸Ñ"<Ô"<Ñ=Ô=×CÒCÅBÄJÑOÔO€JÝ”g×&Ò& }Ñ5Ô5¸ÐC€OØð  Ý)ð 	 ð 	 ˆHÝ%œ|¨HÑ5Ô5ÐÝ "¤§¢¨]¸HÑ EÔ EÐà ð å”G—N’NÐ#4Ñ5Ô5ð õ ”G×$Ò$Ø$Ø%ñô ð ð  ���øõ 2Ñ3Ô3Ð<Ð<Ð<Ð<r   c                  óÌ   — t           j        } t          j                             | ¦  «        }t          j        |¦  «        }|r"t          j                             || ¦  «        r|S | S )z<Try to figure out the best way to invoke the current Python.)r   Ú
executabler   r   Úbasenamer%   r&   r(   )Úexer.   r/   s      r   r)   r)   I   s^   € å
Œ.€CÝŒw×Ò Ñ$Ô$€Hõ ”| HÑ-Ô-ÐØð �BœG×,Ò,Ð-=¸sÑCÔCð Øˆð €Jr   )N)Ú	itertoolsr   r%   r   Útypingr   r   Úpip._internal.cli.mainr   Úpip._internal.utils.compatr   Úversion_infoÚmajorÚminorr$   Ú_allowed_extensionsÚproductÚstrÚintr   r1   r)   © r   r   ú<module>rB      sY  ðØ Ð Ð Ð Ø 	€	€	€	Ø €€€Ø 
€
€
€
Ø !Ð !Ð !Ð !Ð !Ð !Ð !Ð !à 'Ð 'Ð 'Ð 'Ð 'Ð 'Ø .Ð .Ð .Ð .Ð .Ð .ð 
Ø"ˆ#Ô
Ô
 Ð"Ð"Ø;ˆ#Ô
Ô
 Ð;Ð; 3Ô#3Ô#9Ð;Ð;ðÐ ð
 ð Ø˜v˜,Ððð à&�YÔ&Ð'8Ð:MÑNÔNðñ ô Ððð �8˜D œIÔ&ð °#ð ð ð ð ð.=¨#ð =ð =ð =ð =ð6¨Sð ð ð ð ð ð r   