Ë
    ��hý  ã                   óŒ  — 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
r4ddhZ e j                   ee«      D � cg c]  } dj#                  | «      ‘Œ c} Zdd	eee      d
efd„Zd
efd„Zd
efd„Zyc c} w )é    N)ÚListÚOptional)Úmain)ÚWINDOWSÚpipú.Ú z.exeÚargsÚreturnc                 óV   — t         j                  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    ú]/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/pip/_internal/utils/entrypoints.pyÚ_wrapperr      s'   € ô ‡J�J×Ñð	"ôô �‹:Ðó    c                  ó”  — t         rdnd} t        j                  j                  t        j
                  | «      }t        j                  j                  t        j                  j                  dd«      «      j                  t        j                  «      }t        j                  j                  |«      |v }|r‡t        D ]~  }t        j                  |«      }t        j                  j                  ||«      }|sŒ;t        j                  j                  |«      sŒ[t        j                  j                  ||«      sŒ||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ÚpathÚjoinr   Ú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_pipr-   .   sî   € å$+‘y°ÐÜ—G‘G—L‘L¤§¡Ð-=Ó>€Mô —‘×!Ñ!¤"§*¡*§.¡.°¸Ó"<Ó=×CÑCÄBÇJÁJÓO€JÜ—g‘g×&Ñ& }Ó5¸ÐC€OÙÜ)ò 	 ˆHÜ%Ÿ|™|¨HÓ5ÐÜ "§¡§¡¨]¸HÓ EÐâ Ü—G‘G—N‘NÐ#4Õ5Ü—G‘G×$Ñ$Ø$Ø%õð
  ’ð	 ô 2Ó3Ð4°GÐ<Ð<r   c                  ó"  — t         j                  } t        j                  j	                  | «      }t        j                  |«      }|rHt        j                  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)Úexer*   r+   s      r   r%   r%   I   sg   € ä
�.‰.€CÜ�w‰w×Ñ Ó$€Hô —|‘| HÓ-Ðñ œBŸG™G×,Ñ,¬R¯X©XÐ6FÓ-GÌÏÉÐRUËÔWØˆð €Jr   )N)Ú	itertoolsr   r!   r   Útypingr   r   Úpip._internal.cli.mainr   Úpip._internal.utils.compatr   Úversion_infoÚmajorÚminorr    Ú_allowed_extensionsÚproductr   ÚstrÚintr   r-   r%   )Úpartss   0r   ú<module>r@      så   ðÛ Û 	Û Û 
ß !å 'Ý .ð 
Ø	ˆ#×
Ñ
×
 Ñ
 Ð	!Ð"Ø	ˆ#×
Ñ
×
 Ñ
 Ð	!  3×#3Ñ#3×#9Ñ#9Ð":Ð;ðÐ ñ
 Ø˜v˜,Ðð '�Y×&Ñ&Ð'8Ð:MÓNöàð 	�‰��òÐñ�8˜D ™IÑ&ð °#ó ð.=¨#ó =ð6¨Sô ùòqs   Â
C