ó
¨
Wc           @   sr   d  Z  d d l Z y d d l m Z Wn! e k
 rI d d l m Z n Xd „  Z e j d k rn d „  Z n  d S(	   s2   
Compatibility Support for Python 2.6 and earlier
iÿÿÿÿN(   t   splittagc         C   s   t  |  ƒ \ }  } |  S(   s¸   
	In `Python 8280 <http://bugs.python.org/issue8280>`_, Python 2.7 and
	later was patched to disregard the fragment when making URL requests.
	Do the same for Python 2.6 and earlier.
	(   R    (   t   urlt   fragment(    (    s9   /usr/lib/python2.7/dist-packages/setuptools/py26compat.pyt   strip_fragment   s    i   i   c         C   s   |  S(   N(    (   t   x(    (    s9   /usr/lib/python2.7/dist-packages/setuptools/py26compat.pyt   <lambda>   s    (   i   i   (   t   __doc__t   syst   urllib.parseR    t   ImportErrort   urllibR   t   version_info(    (    (    s9   /usr/lib/python2.7/dist-packages/setuptools/py26compat.pyt   <module>   s   		