ó .¡Uc@@sXdZddlmZddlZdefd„ƒYZejjeddgƒƒdS(s? Copyright (c) Donald Stufft, pip, and individual contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. i(tabsolute_importNt VendorAliascB@s&eZd„Zdd„Zd„ZRS(cC@sL||_t|_|jd|_g|jD]}|j|^q,|_dS(Nt.(t_package_namest__name__t _vendor_namet _vendor_pkgt _vendor_pkgs(tselft package_namestname((s@/usr/lib/python2.7/vendor-packages/requests/packages/__init__.pyt__init__s  cC@s|j|jƒr|SdS(N(t startswithR(Rtfullnametpath((s@/usr/lib/python2.7/vendor-packages/requests/packages/__init__.pyt find_module&sc@s ˆj|jƒs.tdˆ|jfƒ‚nˆ|jkpYt‡fd†|jDƒƒsxtdˆ|jfƒ‚nˆtjkr’tjˆSy”tj}zIgtjD]}t |t ƒs¬|^q¬t_t ˆƒtjˆ}Wdx-tjD]"}||krõ|j |ƒqõqõW|t_XWnftk rŽˆt |jƒ}yt |ƒtj|}Wqtk rŠtdˆfƒ‚qXnX|tjˆ<|S(Ns/Cannot import %s, must be a subpackage of '%s'.c3@s|]}ˆj|ƒVqdS(N(R (t.0tpkg(R (s@/usr/lib/python2.7/vendor-packages/requests/packages/__init__.pys 4ss$Cannot import %s, must be one of %s.sNo module named '%s'(R Rt ImportErrorRtanyRtsystmodulest meta_patht isinstanceRt __import__tappendtlen(RR treal_meta_pathtmtmodulet real_name((R s@/usr/lib/python2.7/vendor-packages/requests/packages/__init__.pyt load_module*s>        N(Rt __module__R tNoneRR(((s@/usr/lib/python2.7/vendor-packages/requests/packages/__init__.pyRs  turllib3tchardet(t__doc__t __future__RRtobjectRRR(((s@/usr/lib/python2.7/vendor-packages/requests/packages/__init__.pyts O