Viewing File: /opt/alt/python35/lib/python3.5/site-packages/pip/_internal/commands/cache.pyc
ó
“tÆ_c @@ 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<