£Á°èZ¨Ä…–K§‚«“ô4“ÒÙ´dîfUÙÃÅ WKbyÊ¦•êŽ…È®FÒ¿ÊÎóCozá¬S@6{Í:›œêZÌ:Š•_%:¢¾¾~;‘Ã~èŠ©ÊÇí`ÔÑ©úë™µ'5I¿fš×WO%ø9¾«¾DK|€ùÍD”Ýs]nHÕ¶ê×Ó¼ãžªéUWŸÈË%DÒÕ¬ï‘]/Åcx  ‰ï2ß]ä6G[]S£ÔÏ¯rs{úëóµmÒï#UQxo·õÞCe]"±/aÙ&Eã4ú9Jé_ÞåëdãöKë)AÞ                  ¯¹ægƒÛowÐø^d™ý½ßB7áyMä9ÜÖUã
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<html>
U
    ʗRe                     @   s   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
rddhZd	d
 e eeD Zdeee  eedddZedddZedddZdS )    N)ListOptional)main)WINDOWSpip. z.exec                 C   s   g | ]}d  |qS )r   )join).0parts r   /builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/utils/entrypoints.py
<listcomp>   s   r   F)args_nowarnreturnc                 C   s   |s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   r   r   r   r   _wrapper   s
    r   )r   c                  C   s   t rdnd} tjtj| }tjtjdd	tj
}tj||k}|rtD ]2}t|}|rRtj|tj||rR|  S qRt  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samefile#get_best_invocation_for_this_python)binary_directorybinary_prefix
path_partsexe_are_in_PATHexe_namefound_executabler   r   r    get_best_invocation_for_this_pip/   s    


r,   c                  C   s6   t j} tj| }t|}|r2tj|| r2|S | S )z<Try to figure out the best way to invoke the current Python.)r   
executabler   r   basenamer"   r#   r$   )exer*   r+   r   r   r   r%   E   s    
r%   )NF)	itertoolsr   r"   r   typingr   r   pip._internal.cli.mainr   pip._internal.utils.compatr   version_infomajorminorr!   Z_allowed_extensionsproductstrboolintr   r,   r%   r   r   r   r   <module>   s$   
