a
    DÉmgj  ã                   @   sD   d dl Z d dlmZmZ d dlmZ deee  eedœdd„Z	dS )	é    N)ÚListÚOptional)ÚmainF)Ú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   úV/var/www/html/idle/venv/lib/python3.9/site-packages/pip/_internal/utils/entrypoints.pyÚ_wrapper   s
    ÿr   )NF)
r   Útypingr   r   Úpip._internal.cli.mainr   ÚstrÚboolÚintr   r   r   r   r   Ú<module>   s   