
Kh                 @   s   d  Z  d d l Z y2 d d l m Z m Z d a d a d d   Z Wn- e	 k
 rs d d d  Z d	 d   Z Yn Xd
 d   Z
 d S)ze
certifi.py
~~~~~~~~~~

This module returns the installation location of cacert.pem or its contents.
    N)path	read_textc               C   s1   t  d  k r- t d d  a t t j    a  t  S)Ncertifiz
cacert.pem)_CACERT_PATHget_path_CACERT_CTXstr	__enter__ r
   r
   H/mod/web/acousticsspace/venv/lib/python3.5/site-packages/certifi/core.pywhere   s    r   asciic          	   C   s0   t  t   d d |  } | j   SWd  QRXd  S)Nrencoding)openr   read)_module_pathr   datar
   r
   r   r   /   s    r   c              C   s%   t  j j t  }  t  j j |  d  S)Nz
cacert.pem)osr   dirname__file__join)fr
   r
   r   r   5   s    c               C   s   t  d d d d S)Nr   z
cacert.pemr   r   )r   r
   r
   r
   r   contents;   s    r   )__doc__r   Zimportlib.resourcesr   r   r   r   r   r   ImportErrorr   r
   r
   r
   r   <module>   s   