
    ZPh                     $    d Z ddlmZ d ZddZdS )z
Utility method which prints system info to help with debugging,
and filing issues on GitHub.
Adapted from :func:`sklearn.show_versions`,
which was adapted from :func:`pandas.show_versions`
   )__version__c                  x    g d} dt           i}ddlm}m} | D ]!}	  ||          ||<   # |$ r d||<   Y w xY w|S )zOverview of the installed version of main dependencies
    Returns
    -------
    deps_info: dict
        version information on relevant Python libraries
    )imbalanced-learnpip
setuptoolsnumpyscipyzscikit-learnCythonpandaskeras
tensorflowjoblibr       )PackageNotFoundErrorversionN)r   importlib.metadatar   r   )deps	deps_infor   r   modnames        ]/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/imblearn/utils/_show_versions.py_get_deps_infor      s      D 	KI A@@@@@@@ & &	&!(!1!1Ig# 	& 	& 	&!%Ig	&s   *
77Fc                 0   ddl m}  |            }t                      }d}| rwd}d}|                                D ]\  }}|d|dd| dz  }|                                D ]\  }}|d|dd| dz  }t	          |                    ||                     dS t	          d	           |                                D ]\  }}t	          |d
d|            t	          d           |                                D ]\  }}t	          |d
d|            dS )zPrint debugging information.

    .. versionadded:: 0.5

    Parameters
    ----------
    github : bool,
        If true, wrap system info with GitHub markup.
    r   )_get_sys_infoz<details><summary>System, Dependency Information</summary>

**System Information**

{0}
**Python Dependencies**

{1}
</details> z* z<10z: `z`
z
System:z>11z: z
Python dependencies:N)sklearn.utils._show_versionsr   r   itemsprintformat)	githubr   	_sys_info
_deps_info_github_markup_sys_markup_deps_markupkstats	            r   show_versionsr'   1   s    ;:::::I!!J	   & (( 	4 	4GAt3333$3333KK!'')) 	5 	5GAt444444444LLn##K>>????? 	k (( 	& 	&GAtQ$$$d$$%%%%&'''!'')) 	& 	&GAtQ$$$d$$%%%%	& 	&    N)F)__doc__r   r   r   r'    r(   r   <module>r+      sQ               F+& +& +& +& +& +&r(   