
    SZb                         d dl T d ZdS )   )*c                  ,   ddl fd} j                            j                            t                              }j                            |d          } | |          r|S  | |          r|S ddl}|                    t          d          S )z=Returns a path to the directory containing the C header files    Nc                 l    j                             |           oj                             |           S )N)pathexistsisdir)r   oss    .lib/python3.10/site-packages/cairo/__init__.pyis_okzget_include.<locals>.is_ok	   s*    w~~d##;d(;(;;    include)	r
   r   dirnamerealpath__file__joinpkg_resourcesresource_filename__name__)r   package_pathinstall_pathr   r
   s       @r   get_includer      s     III< < < < < 7??27#3#3H#=#=>>L7<<i88L u\  u\  **8Y???r   N)_cairor    r   r   <module>r      s/       @ @ @ @ @r   