o
    Eb>                     @   s:   d Z ddlZddlmZ d	dedeejef fddZdS )
z9Helper functions to get location of UNU.RAN source files.    N)UnionFret_pathreturnc                 C   s    t tjd }| r|S t|S )z-Directory where root unuran/ directory lives.Zunuran)pathlibPath__file__parentstr)r   p r   :/usr/lib/python3/dist-packages/scipy/_lib/_unuran_utils.py_unuran_dir   s   r   )F)__doc__r   typingr   boolr   r	   r   r   r   r   r   <module>   s    "