
    ̆h                     &    S SK r S SKJr  S\4S jrg)    N)partial
group_namec              #     #    [         R                  S:  aG   SSKJn  U" U S9n[	        U[
        5      (       d$  U H  nUR                  UR                  4v   M     g  SSK	J
n  UR                  U 5       H%  nUR                  [        UR                  SS94v   M'     g! [         a     NNf = f! [         a     gf = f7f)	z
Find entrypoints of a given group using either `importlib.metadata` or the
older `pkg_resources` mechanism.

Yields tuples of the entrypoint name and a callable function that will
load the actual entrypoint.
)   
   r   )entry_points)groupN)working_setT)require)sysversion_infoimportlib.metadatar   
isinstancedictnameloadImportErrorpkg_resourcesr
   iter_entry_pointsr   )r   r   epsentry_pointr
   s        N/opt/services/DDDS/venv/lib/python3.13/site-packages/babel/messages/_compat.pyfind_entrypointsr      s      7"	7 Z0C c4((#&K&++[-=-=>> $' )
N- '88DK##W[-=-=t%LMM E!  		  sL   C B  A C B0 %;C  
B-*C ,B--C 0
B=:C <B==C )r   	functoolsr   strr        r   <module>r      s    
 N Nr   