U
    /e                     @   sR   d dl Zd dlZd dlmZ edeeej	dd Z
ejdkZdddZdS )	    N)parse.   Z
emscriptenc                 C   s<   t tdkrtjj| dS tj }| r4|| g S |S dS )zReturns an iterable of entrypoints.

    For compatibility with Python 3.8/3.9.
    In 3.10 the return type changed from a dict to an ``importlib.metadata.EntryPoints``.
    This compatibility utility can be removed once Python 3.10 is the minimum.
    z3.10)groupN)_PY_VERSIONparse_version	importlibmetadataentry_pointsget)r   Zeps r   6/tmp/pip-unpacked-wheel-dbjnr7gq/dask/compatibility.pyr
      s    
r
   )N)importlib.metadatar   sysZpackaging.versionr   r   joinmapstrversion_infor   platformZ_EMSCRIPTENr
   r   r   r   r   <module>   s
   
