
Rc           @   s  d  Z  d d k l Z d d k l Z d d k l Z d d k l Z d d k	 l
 Z
 d d k l Z d d k l Z d d	 k l Z d d
 k l Z d d k l Z d d k l Z d d k l Z h e e i 6e e i 6e e i 6e e i 6e e i 6e e i 6e e i 6e e i 6e e i 6e e i 6e
 e
 i 6e e i 6Z e e e e
 e e e e e e e g Z e e d  Z d   Z d   Z d S(   s%   
Package containing all pip commands
i(   t   BundleCommand(   t   CompletionCommand(   t   FreezeCommand(   t   HelpCommand(   t   ListCommand(   t   SearchCommand(   t   ShowCommand(   t   InstallCommand(   t   UninstallCommand(   t   UnzipCommand(   t
   ZipCommand(   t   WheelCommandc         c   sg   | o t  t t  } n t i   } x: | D]2 \ } } |  o | i o q- n | | i f Vq- Wd S(   s5   Yields sorted (command name, command summary) tuples.N(   t   _sort_commandst   commandst   commands_ordert   itemst   hiddent   summary(   t   ignore_hiddent   orderedt   cmditemst   namet   command_class(    (    sQ   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/__init__.pyt   get_summaries3   s     c         C   sD   d d k  l } | |  t i    } | o | d } n t } | S(   s   Command name auto-correct.i(   t   get_close_matchesi    (   t   difflibR   R   t   keyst   False(   R   R   t   close_commandst   guess(    (    sQ   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/__init__.pyt   get_similar_commandsB   s    c            s%     f d   } t  |  i   d | S(   Nc            s0   y   i  |  d  SWn t j
 o d SXd  S(   Ni   i   (   t   indext
   ValueError(   t   key(   t   order(    sQ   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/__init__.pyt   keyfnQ   s    R!   (   t   sortedR   (   t   cmddictR"   R#   (    (   R"   sQ   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/__init__.pyR   P   s    N(    t   __doc__t   pip.commands.bundleR    t   pip.commands.completionR   t   pip.commands.freezeR   t   pip.commands.helpR   t   pip.commands.listR   t   pip.commands.searchR   t   pip.commands.showR   t   pip.commands.installR   t   pip.commands.uninstallR   t   pip.commands.unzipR	   t   pip.commands.zipR
   t   pip.commands.wheelR   R   R   R   t   TrueR   R   R   (    (    (    sQ   /var/www/html/kasc-wg8/erics/lib/python2.6/site-packages/pip/commands/__init__.pyt   <module>   sN   










		