ok
Direktori : /proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/ |
Current File : //proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/show.pyc |
� Bu�_c @@ s d d l m Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z d d l m Z d d l m Z e r� d d l m Z d d l m Z m Z m Z n e j e � Z d e f d � � YZ d � Z e e d � Z d S( i ( t absolute_importN( t FeedParser( t pkg_resources( t canonicalize_name( t Command( t ERRORt SUCCESS( t write_output( t MYPY_CHECK_RUNNING( t Values( t Listt Dictt Iteratort ShowCommandc B@ s, e Z d Z d Z e Z d � Z d � Z RS( sx Show information about one or more installed packages. The output is in RFC-compliant mail header format. s$ %prog [options] <package> ...c C@ sE | j j d d d d d d d t d d �| j j d | j � d S( Ns -fs --filest destt filest actiont store_truet defaultt helps7 Show the full list of installed files for each package.i ( t cmd_optst add_optiont Falset parsert insert_option_group( t self( ( sL /opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/show.pyt add_options! s c C@ sO | s t j d � t S| } t | � } t | d | j d | j �sK t St S( Ns. ERROR: Please provide a package name or names.t list_filest verbose( t loggert warningR t search_packages_infot print_resultsR R R ( R t optionst argst queryt results( ( sL /opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/show.pyt run, s ( t __name__t __module__t __doc__t usaget Truet ignore_require_venvR R% ( ( ( sL /opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/show.pyR s c c@ s� i } x$ t j D] } | | t | j � <q Wg | D] } t | � ^ q4 } t g t | | � D] \ } } | | k r_ | ^ q_ � } | r� t j d d j | � � n d � } x*g | D] } | | k r� | | ^ q� D]�} i | j d 6| j d 6| j d 6g | j � D] } | j ^ qd 6| | j � d 6} d } d } t | t j � r| j d � r�| j d � } g | D] } | j d � d ^ q{} g | D] } t j j | j | � ^ q�} g | D] } t j j | | j � ^ q�} n | j d � r�| j d � } q�n� | j d � r�| j d � } g | D] } t j j | j | � ^ q<} g | D] } t j j | | j � ^ qg} n | j d � r�| j d � } n | j d � r�| j d � } | | d <n | j d � r&x: | j d � D]&