ó
Ð²Ebc           @   sü  d  Z  d d l m Z d d l m Z d d l Z d d l m Z d „  Z d „  Z y e e j	 e j	 ƒ Wn9 e
 e f k
 r¦ e j d	 j e j	 e j	 ƒ e ƒ n Xyœ d d
 l m Z e sÏ e d ƒ ‚ n  y d d l Z Wn e k
 rø d Z n Xe e d e ƒ sBd d l m Z e j ƒ  d d l m	 Z e e ƒ n  Wn e k
 rVn Xd d l m Z e j d e ƒ d d l	 m Z m Z m Z m	 Z	 d d l	 m  Z  m! Z! m" Z" m# Z# d d l	 m$ Z$ m% Z% d d l& m' Z' d d l& m( Z( d d l) m* Z* m+ Z+ m, Z, d d l- m. Z. m/ Z/ m0 Z0 m1 Z1 m2 Z2 m3 Z3 m4 Z4 m5 Z5 d d l6 m7 Z7 m8 Z8 d d l9 m: Z: d d l m; Z; m< Z< m= Z= m> Z> m? Z? m@ Z@ mA ZA mB ZB mC ZC d d lD ZD d d lD mE ZE eD jF eG ƒ jH eE ƒ  ƒ e j d eA d eI ƒd S(   sú  
Requests HTTP Library
~~~~~~~~~~~~~~~~~~~~~

Requests is an HTTP library, written in Python, for human beings.
Basic GET usage:

   >>> import requests
   >>> r = requests.get('https://www.python.org')
   >>> r.status_code
   200
   >>> b'Python is a programming language' in r.content
   True

... or POST:

   >>> payload = dict(key1='value1', key2='value2')
   >>> r = requests.post('https://httpbin.org/post', data=payload)
   >>> print(r.text)
   {
     ...
     "form": {
       "key1": "value1",
       "key2": "value2"
     },
     ...
   }

The other HTTP methods are supported - see `requests.api`. Full documentation
is at <https://requests.readthedocs.io>.

:copyright: (c) 2017 by Kenneth Reitz.
:license: Apache 2.0, see LICENSE for more details.
iÿÿÿÿ(   t   urllib3(   t   chardetNi   (   t   RequestsDependencyWarningc         C   s-  |  j  d ƒ }  |  d g k s$ t ‚ t |  ƒ d k rF |  j d ƒ n  |  \ } } } t | ƒ t | ƒ t | ƒ } } } | d k s t ‚ | d k sŸ t ‚ | d k s± t ‚ | j  d ƒ d  \ } } } t | ƒ t | ƒ t | ƒ } } } | d k st ‚ | d k  st ‚ | d k s)t ‚ d  S(	   Nt   .t   devi   t   0i   i   i   i   (   t   splitt   AssertionErrort   lent   appendt   int(   t   urllib3_versiont   chardet_versiont   majort   minort   patch(    (    s:   /tmp/pip-build-UPPWic/pip/pip/_vendor/requests/__init__.pyt   check_compatibility1   s    &&c         C   sr   y" t  t t |  j d ƒ ƒ ƒ }  Wn t k
 r6 d  SX|  d d d g k  rn d j |  ƒ } t j | t ƒ n  d  S(   NR   i   i   i   s4   Old version of cryptography ({}) may cause slowdown.(	   t   listt   mapR
   R   t
   ValueErrort   formatt   warningst   warnR   (   t   cryptography_versiont   warning(    (    s:   /tmp/pip-build-UPPWic/pip/pip/_vendor/requests/__init__.pyt   _check_cryptographyJ   s    "s?   urllib3 ({}) or chardet ({}) doesn't match a supported version!(   t   WINDOWSs3   pip internals: don't import cryptography on Windowst   HAS_SNI(   t	   pyopenssl(   t   __version__(   t   DependencyWarningt   ignore(   t	   __title__t   __description__t   __url__R   (   t	   __build__t
   __author__t   __author_email__t   __license__(   t   __copyright__t   __cake__(   t   utils(   t   packages(   t   Requestt   Responset   PreparedRequest(   t   requestt   gett   headt   postR   t   putt   deletet   options(   t   sessiont   Session(   t   codes(	   t   RequestExceptiont   Timeoutt   URLRequiredt   TooManyRedirectst	   HTTPErrort   ConnectionErrort   FileModeWarningt   ConnectTimeoutt   ReadTimeout(   t   NullHandlert   defaultR	   (J   t   __doc__t   pip._vendorR    R   R   t
   exceptionsR   R   R   R   R   R   R   R   t   pip._internal.utils.compatR   t   ImportErrort   sslt   Nonet   getattrt   Falset   pip._vendor.urllib3.contribR   t   inject_into_urllib3t   cryptographyR   t   pip._vendor.urllib3.exceptionsR   t   simplefilterR    R!   R"   R#   R$   R%   R&   R'   R(   t    R)   R*   t   modelsR+   R,   R-   t   apiR.   R/   R0   R1   R   R2   R3   R4   t   sessionsR5   R6   t   status_codesR7   R8   R9   R:   R;   R<   R=   R>   R?   R@   t   loggingRA   t	   getLoggert   __name__t
   addHandlert   True(    (    (    s:   /tmp/pip-build-UPPWic/pip/pip/_vendor/requests/__init__.pyt   <module>)   sV   		

"":@