ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     
abc           @@  s)  d  d l  m Z d  d l Z d  d l Z d  d l 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 m Z e j d  Z e j d	  Z e j d
  Z e j d  Z e j d  Z e j d  Z e j e  Z d e f d     YZ d   Z e j e  d S(   i    (   t   absolute_importN(   t   parse(   t   Link(   t   rmtreet   display_path(   t
   indent_log(   t   vcst   VersionControls   url="([^"]+)"s   committed-rev="(\d+)"s	   URL: (.+)s   Revision: (.+)s   \s*revision="(\d+)"s   <url>(.*)</url>t
   Subversionc           B@  s   e  Z d  Z d Z d Z d Z d   Z d   Z d	   Z d
   Z	 d   Z
 d   Z d   Z d   Z d   Z d   Z d   Z d   Z e d    Z RS(   t   svns   .svnt   checkouts   svn+sshs   svn+https	   svn+httpss   svn+svnc         C@  s   | j  d  j |  j  s, t d |   |  j d | g d t d i d d 6} t j |  } | s t j	 d t
 |   t j d	 |  d S| j d
  j   } t j |  } | s t j	 d t
 |   t j d	 |  | d f S| | j d
  f S(   s/   Returns (url, revision), where both are stringst   /s   Bad directory: %st   infot   show_stdoutt   extra_environt   Ct   LANGs'   Cannot determine URL of svn checkout %ss!   Output that cannot be parsed: 
%si   s,   Cannot determine revision of svn checkout %sN(   NN(   t   rstript   endswitht   dirnamet   AssertionErrort   run_commandt   Falset   _svn_url_ret   searcht   loggert   warningR   t   debugt   Nonet   groupt   stript   _svn_revision_re(   t   selft   locationt   outputt   matcht   url(    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyt   get_info   s,    
c         C@  s   |  j    \ } } t | |  } |  j |  } t j d | |  t   H t j j |  rl t	 |  n  |  j
 d g | | | g d t Wd QXd S(   s@   Export the svn repository at the url to the destination locations!   Exporting svn repository %s to %st   exportR   N(   t   get_url_revt   get_rev_optionst   remove_auth_from_urlR   R   R   t   ost   patht   existsR   R   R   (   R    R!   R$   t   revt   rev_options(    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyR&   ;   s    
c         C@  s"   |  j  d g | | | g  d  S(   Nt   switch(   R   (   R    t   destR$   R.   (    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyR/   J   s    c         C@  s   |  j  d g | | g  d  S(   Nt   update(   R   (   R    R0   R.   (    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyR1   M   s    c         C@  s   |  j    \ } } t | |  } |  j |  } | rC d | } n d } |  j | | | |  r t j d | | t |   |  j d d g | | | g  n  d  S(   Ns    (to revision %s)t    s   Checking out %s%s to %sR
   s   -q(   R'   R(   R)   t   check_destinationR   R   R   R   (   R    R0   R$   R-   R.   t   rev_display(    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyt   obtainP   s    c         C@  s   x | D]{ } t  |  j } | s( q n  d | k rY d j | j d  d   j   } n | } | | j k r | j d d  d Sq Wd  S(   Nt   -it   #i   i    (   R   t   egg_fragmentt   joint   splitt   lowert   keyR   (   R    t   distt   dependency_linksR$   R8   R<   (    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyt   get_locationa   s    %c   
      C@  s   d } x t  j |  D] \ } } } |  j | k rA g  | (q n  | j |  j  t  j j | |  j d  } t  j j |  s q n  |  j |  \ } } | | k r | d }	 n$ | s | j |	  r g  | (q n  t	 | |  } q W| S(   sR   
        Return the maximum revision for all files under a given location
        i    t   entriesR   (
   R*   t   walkR   t   removeR+   R9   R,   t   _get_svn_url_revt
   startswitht   max(
   R    R!   t   revisiont   baset   dirst   filest
   entries_fnt   dirurlt   localrevt   base_url(    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyt   get_revisiono   s"    c         C@  sA   t  t |   j   \ } } | j d  r7 d | } n  | | f S(   Ns   ssh://s   svn+(   t   superR   R'   RD   (   R    R$   R-   (    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyR'      s    c         C@  sw   | } x] t  j j t  j j | d   se | } t  j j |  } | | k r	 t j d |  d  Sq	 W|  j |  d S(   Ns   setup.pysG   Could not find setup.py for directory %s (tried all parent directories)i    (	   R*   R+   R,   R9   R   R   R   R   RC   (   R    R!   t   orig_locationt   last_location(    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyt   get_url   s    $c         C@  sI  d d l  m } t j j | |  j d  } t j j |  ra t |   } | j   } Wd  QXn d } | j	 d  s | j	 d  s | j	 d  rt
 t t j | j d    } | d d =| d d	 } g  | D]2 } t |  d
 k r | d
 r t | d
  ^ q d g } n| j	 d  rt j |  }	 |	 sNt d |   n  |	 j d  } g  t j |  D] }
 t |
 j d   ^ qmd g } n yk |  j d d | g d t } t j |  j d  } g  t j |  D] }
 t |
 j d   ^ q} Wn | k
 r#d  g  } } n X| r9t |  } n d } | | f S(   Ni    (   t   InstallationErrorR@   R2   t   8t   9t   10s   

i   i	   s   <?xmls   Badly formatted data: %ri   R   s   --xmlR   (   t   pip.exceptionsRS   R*   R+   R9   R   R,   t   opent   readRD   t   listt   mapt   strt
   splitlinesR:   t   lent   intt   _svn_xml_url_reR   t
   ValueErrorR   t   _svn_rev_ret   finditerR   R   t   _svn_info_xml_url_ret   _svn_info_xml_rev_reR   RE   (   R    R!   RS   t   entries_patht   ft   dataR$   t   dt   revsR#   t   mt   xmlR-   (    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyRC      s>    !I;	5c         C@  s[   |  j  |  } | d  k r d  S| j   j d d  d } |  j |  } d | | | f S(   NR6   i   i    s   svn+%s@%s#egg=%s(   RR   R   t   egg_nameR:   RN   (   R    R=   R!   t   repot   egg_project_nameR-   (    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyt   get_src_requirement   s    c         C@  s   t  S(   s&   Always assume the versions don't match(   R   (   R    R0   R.   (    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyt   check_version   s    c         C@  sY   t  j |   } | j j d  d } | j | | j | j | j f } t  j |  } | S(   Nt   @i(	   t   urllib_parset   urlsplitt   netlocR:   t   schemeR+   t   queryt   fragmentt
   urlunsplit(   R$   t   purlt   stripped_netloct
   url_piecest   surl(    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyR)      s
    !(   R	   s   svn+sshs   svn+https	   svn+httpss   svn+svn(   t   __name__t
   __module__t   nameR   t	   repo_namet   schemesR%   R&   R/   R1   R5   R?   RN   R'   RR   RC   Rp   Rq   t   staticmethodR)   (    (    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyR      s"   										,			c         C@  s   | r d | g } n g  } t  j |   } t | d  rO | j | j } } nl | d } d | k r | j d  d } d | k r | j d d  \ } } q | d  } } n d	 \ } } | r | d | g 7} n  | r | d | g 7} n  | S(
   Ns   -rt   usernamei   Rr   i    t   :s
   --usernames
   --password(   NN(   Rs   Rt   t   hasattrR   t   passwordR:   R   (   R$   R-   R.   t   rR   R   Ru   t   auth(    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyR(      s$    
(   t
   __future__R    t   loggingR*   t   ret   pip._vendor.six.moves.urllibR   Rs   t	   pip.indexR   t	   pip.utilsR   R   t   pip.utils.loggingR   t   pip.vcsR   R   t   compileR`   Rb   R   R   Re   Rd   t	   getLoggerR~   R   R   R(   t   register(    (    (    s6   /usr/lib/python2.7/site-packages/pip/vcs/subversion.pyt   <module>   s$   	