Current File : //usr/lib/python3/dist-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc |
�
/�g� � � � d dl Z d dlZd dlZd dlZd dlmZmZ d dlmZ d dl m
Z
ddej j � �dej j � dej j � �gZe
r4ddhZ e j ee� D � cg c] } dj# | � �� c} Zdd eee d
efd�Zd
efd�Zd
efd
�Zyc 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 �A/usr/lib/python3/dist-packages/pip/_internal/utils/entrypoints.py�_wrapperr s'