U
    b                     @   sd   d Z ddlZz$ddlmZmZ dadadd ZW n& e	k
rV   dddZd	d ZY nX d
d Z
dS )ze
certifi.py
~~~~~~~~~~

This module returns the installation location of cacert.pem or its contents.
    N)path	read_textc                   C   s"   t d krtddatt a t S )Ncertifi
cacert.pem)_CACERT_PATHget_path_CACERT_CTXstr	__enter__ r   r   0/tmp/pip-unpacked-wheel-lfzt858t/certifi/core.pywhere   s    
r   asciic              
   C   s0   t t d|d}| W  5 Q R  S Q R X d S )Nrencoding)openr   read)_module_pathr   datar   r   r   r   /   s    r   c                  C   s   t jt} t j| dS )Nr   )osr   dirname__file__join)fr   r   r   r   5   s    c                   C   s   t ddddS )Nr   r   r   r   )r   r   r   r   r   contents;   s    r   )r   )__doc__r   importlib.resourcesr   r   r   r   r   r   ImportErrorr   r   r   r   r   <module>   s   
