관리-도구
편집 파일: cache.pyc
� �Rec @@ s� d d l m Z d d l Z d d l Z d d l Z d d l j j j Z d d l m Z d d l m Z m Z d d l m Z m Z d d l m Z e r� d d l m Z d d l m Z m Z n e j e � Z d e f d � � YZ d S( i ( t absolute_importN( t Command( t ERRORt SUCCESS( t CommandErrort PipError( t MYPY_CHECK_RUNNING( t Values( t Anyt Listt CacheCommandc B@ sb e Z d Z e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( sw Inspect and manage pip's wheel cache. Subcommands: - dir: Show the cache directory. - info: Show information about the cache. - list: List filenames of packages stored in the cache. - remove: Remove one or more package from the cache. - purge: Remove all items from the cache. ``<pattern>`` can be a glob expression or a package name. s| %prog dir %prog info %prog list [<pattern>] %prog remove <pattern> %prog purge c C@ s� i | j d 6| j d 6| j d 6| j d 6| j d 6} | j sR t j d � t S| si | d | k r� t j d d j t | � � � t S| d } y | | | | d � Wn( t k r� } t j | j d � t SXt S( Nt dirt infot listt removet purges<