U
    ¾–«jñ  ã                   @   s<   d d„ Z ddkr e dƒ e dƒ ddlT ddlmZmZ dS )	c              
   C   sn   zNddl }|j | ¡}| dd¡}|j |¡r:| |¡ n| |j |¡¡ W n tttfk
rh   Y nX dS )zï On windows you must call os.add_dll_directory() to allow linking to external DLLs.  See
    https://docs.python.org/3.8/whatsnew/3.8.html#bpo-36085-whatsnew.  This function adds the folder
    containing path to the dll search path. 
    é    Nz/lib/z/bin/)	ÚosÚpathÚdirnameÚreplaceÚisdirZadd_dll_directoryÚAttributeErrorÚKeyErrorÚFileNotFoundError)r   r   Z
lib_folderZ
dll_folder© r
   ú1/tmp/pip-unpacked-wheel-utccx4dy/dlib/__init__.pyÚadd_lib_to_dll_path   s    r   ZOFFÚONÚ r   )Ú*)Ú__version__Ú__time_compiled__N)r   Z_dlib_pybind11r   r   r
   r
   r
   r   Ú<module>   s
   