ó
Ð²Ebc           @   sw   d  Z  d d l Z y/ d d l m Z m Z d a d a d „  Z	 Wn& e
 k
 ri d d „ Z d „  Z	 n Xd „  Z d S(	   se   
certifi.py
~~~~~~~~~~

This module returns the installation location of cacert.pem or its contents.
iÿÿÿÿN(   t   patht	   read_textc           C   s4   t  d  k r0 t d d ƒ a t t j ƒ  ƒ a  n  t  S(   Ns   pip._vendor.certifis
   cacert.pem(   t   _CACERT_PATHt   Nonet   get_patht   _CACERT_CTXt   strt	   __enter__(    (    (    s5   /tmp/pip-build-UPPWic/pip/pip/_vendor/certifi/core.pyt   where   s    t   asciic         C   s/   t  t ƒ  d d | ƒ } | j ƒ  SWd  QXd  S(   Nt   rt   encoding(   t   openR   t   read(   t   _modulet   _pathR   t   data(    (    s5   /tmp/pip-build-UPPWic/pip/pip/_vendor/certifi/core.pyR   /   s    c          C   s%   t  j j t ƒ }  t  j j |  d ƒ S(   Ns
   cacert.pem(   t   osR    t   dirnamet   __file__t   join(   t   f(    (    s5   /tmp/pip-build-UPPWic/pip/pip/_vendor/certifi/core.pyR   5   s    c           C   s   t  d d d d ƒS(   Nt   certifis
   cacert.pemR   R	   (   R   (    (    (    s5   /tmp/pip-build-UPPWic/pip/pip/_vendor/certifi/core.pyt   contents;   s    (   t   __doc__R   t   importlib.resourcesR    R   R   R   R   R   R   t   ImportErrorR   (    (    (    s5   /tmp/pip-build-UPPWic/pip/pip/_vendor/certifi/core.pyt   <module>   s   