‹“Re,ã@sêddlmZddlZddlZddlZddljjjZddl m Z ddl m Z m Z ddlmZmZddlmZerÁddlmZddlmZmZejeƒZGd d „d e ƒZdS) é)Úabsolute_importN)ÚCommand)ÚERRORÚSUCCESS)Ú CommandErrorÚPipError)ÚMYPY_CHECK_RUNNING)ÚValues)ÚAnyÚListc@s‚eZdZdZdZdZdd„Zdd„Zdd „Zd d „Z d d „Z dd„Z dd„Z dd„Z dS)Ú CacheCommandaw 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. ```` can be a glob expression or a package name. Tz| %prog dir %prog info %prog list [] %prog remove %prog purge cCsôd|jd|jd|jd|jd|ji}|jsMtjdƒtS| sd|d|kr‡tjdd j t |ƒƒƒtS|d}y||||d d…ƒWn=t k rï}ztj|j dƒtSWYdd}~XnXt S) NÚdirÚinfoÚlistÚremoveÚpurgezs