ó
€¾^Yc           @   st   d  Z  d d l Z d d l m Z d „  Z e j r@ d „  Z n  e j ƒ  d k oX e j Z e rg e n d „  Z	 d S(   s2   
Compatibility Support for Python 2.7 and earlier
iÿÿÿÿN(   t   sixc         C   s   |  j  | ƒ S(   sH   
    Given an HTTPMessage, return all headers matching a given key.
    (   t   get_all(   t   messaget   key(    (    s9   /tmp/pip-build-LNwBEI/setuptools/setuptools/py27compat.pyt   get_all_headers
   s    c         C   s   |  j  | ƒ S(   N(   t
   getheaders(   R   R   (    (    s9   /tmp/pip-build-LNwBEI/setuptools/setuptools/py27compat.pyR      s    t   Linuxc         C   s   |  S(   N(    (   t   x(    (    s9   /tmp/pip-build-LNwBEI/setuptools/setuptools/py27compat.pyt   <lambda>   s    (
   t   __doc__t   platformt   setuptools.externR    R   t   PY2t   systemt   linux_py2_asciit   strt   rmtree_safe(    (    (    s9   /tmp/pip-build-LNwBEI/setuptools/setuptools/py27compat.pyt   <module>   s   			