
b]c           @   sK   d  d l  Z  d  d l m Z e r5 d  d l m Z n  d Z e d  Z d S(   iN(   t   MYPY_CHECK_RUNNING(   t   Lists   import sys, setuptools, tokenize; sys.argv[0] = {0!r}; __file__={0!r};f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))c         C   sB   t  j g } | r" | j d  n  | j d t j |   g  | S(   s   
    Get setuptools command arguments with shim wrapped setup file invocation.

    :param setup_py_path: The path to setup.py to be wrapped.
    :param unbuffered_output: If True, adds the unbuffered switch to the
     argument list.
    s   -us   -c(   t   syst
   executablet   appendt   extendt   _SETUPTOOLS_SHIMt   format(   t   setup_py_patht   unbuffered_outputt   args(    (    sC   lib/python2.7/site-packages/pip/_internal/utils/setuptools_build.pyt   make_setuptools_shim_args   s
    	(   R   t   pip._internal.utils.typingR    t   typingR   R   t   FalseR   (    (    (    sC   lib/python2.7/site-packages/pip/_internal/utils/setuptools_build.pyt   <module>   s
   	