§
    u”jü  ã                  óþ   — d dl mZ d dlZd dlZd dlZd dl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d„Zdd„Zdd„ZdS )é    )ÚannotationsN)Úmain)ÚWINDOWSÚpipú.Ú z.exec                ó8   — g | ]}d                       |¦  «        ‘ŒS )r   )Újoin)Ú.0Úpartss     ún/var/www/finuniver-perm.ru/html/portfolio/venv/lib/python3.11/site-packages/pip/_internal/utils/entrypoints.pyú
<listcomp>r      s2   € ð ð ð àð 	�Š�‰Œðð ð ó    Úargsúlist[str] | NoneÚreturnÚintc                ó^   — 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   Ústrc                 óŽ  — 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_pipr3   /   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        |¦  «        }|rFt          j                             t          j        |¦  «        t          j        | ¦  «        ¦  «        r|S | S )z<Try to figure out the best way to invoke the current Python.)	r   Ú
executabler   r   Úbasenamer'   r(   ÚsamestatÚlstat)Úexer0   r1   s      r   r+   r+   J   ss   € å
Œ.€CÝŒw×Ò Ñ$Ô$€Hõ ”| HÑ-Ô-Ðð ð �BœG×,Ò,­R¬XÐ6FÑ-GÔ-GÍÌÐRUÉÌÑWÔWð Øˆð €Jr   )N)r   r   r   r   )r   r   )Ú
__future__r   Ú	itertoolsr   r'   r   Úpip._internal.cli.mainr   Úpip._internal.utils.compatr   Úversion_infoÚmajorÚminorr&   Ú_allowed_extensionsÚproductr   r3   r+   © r   r   ú<module>rD      s.  ðØ "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ø 	€	€	€	Ø €€€Ø 
€
€
€
à 'Ð 'Ð 'Ð 'Ð 'Ð 'Ø .Ð .Ð .Ð .Ð .Ð .ð 
Ø"ˆ#Ô
Ô
 Ð"Ð"Ø;ˆ#Ô
Ô
 Ð;Ð; 3Ô#3Ô#9Ð;Ð;ðÐ ð
 ð Ø˜v˜,Ððð à&�YÔ&Ð'8Ð:MÑNÔNðñ ô Ððð ð ð ð ð.=ð =ð =ð =ð6ð ð ð ð ð r   