U
    ;»{jÌ  ã                   @   sd   d dl Z d dlZd dlmZ d dlmZmZ d dlmZ d dl	m
Z
 ddœdd„Zed	kr`eƒ  dS )
é    N)Úinspect)ÚConsoleÚget_windows_console_features)ÚPanel)ÚPretty)Úreturnc                  C   s`   t ƒ } t| ƒ tƒ }t|ƒ d}dd„ |D ƒ}|  tjt|ƒdd�¡ |  dt ¡ › d�¡ dS )	z9Print a report to the terminal with debugging information)ÚTERMZ	COLORTERMZCLICOLORZNO_COLORZTERM_PROGRAMÚCOLUMNSÚLINESZJUPYTER_COLUMNSZJUPYTER_LINESZJPY_PARENT_PIDZVSCODE_VERBOSE_LOGGINGc                 S   s   i | ]}|t  |¡“qS © )ÚosÚgetenv)Ú.0Únamer   r   ú:/tmp/pip-install-zsn1f9xv/pip/pip/_vendor/rich/diagnose.pyÚ
<dictcomp>   s      zreport.<locals>.<dictcomp>z[b]Environment Variables)Útitlez
platform="ú"N)	r   r   r   Úprintr   Zfitr   ÚplatformÚsystem)ÚconsoleÚfeaturesZ	env_namesÚenvr   r   r   Úreport
   s    r   Ú__main__)r   r   Zpip._vendor.richr   Zpip._vendor.rich.consoler   r   Zpip._vendor.rich.panelr   Zpip._vendor.rich.prettyr   r   Ú__name__r   r   r   r   Ú<module>   s   