ó
Ð²Ebc           @   s[   d  d l  Z  d  d l m Z d  d l m Z e rK d  d l m Z m Z n  d d „ Z	 d S(   iÿÿÿÿN(   t   main(   t   MYPY_CHECK_RUNNING(   t   Listt   Optionalc         C   s   t  j j d ƒ t |  ƒ S(   sò  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.
    s  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.
(   t   syst   stderrt   writeR    (   t   args(    (    s<   /tmp/pip-build-UPPWic/pip/pip/_internal/utils/entrypoints.pyt   _wrapper
   s    	(
   R   t   pip._internal.cli.mainR    t   pip._internal.utils.typingR   t   typingR   R   t   NoneR   (    (    (    s<   /tmp/pip-build-UPPWic/pip/pip/_internal/utils/entrypoints.pyt   <module>   s
   