�
"T�e� � �j � d dl Z d dlZd dlmZ d dlmZmZ d dlmZ d dl m
Z
dd�Zedk( r e� yy) � N)�inspect)�Console�get_windows_console_features)�Panel)�Prettyc �X � t � } t | � t � }t |� d}|D �ci c] }|t j |� �� }}| j t
j t |� d�� � | j dt j � � d�� yc c}w )z9Print a report to the terminal with debugging information)�TERM� COLORTERM�CLICOLOR�NO_COLOR�TERM_PROGRAM�COLUMNS�LINES�JUPYTER_COLUMNS�
JUPYTER_LINES�JPY_PARENT_PID�VSCODE_VERBOSE_LOGGINGz[b]Environment Variables)�titlez
platform="�"N)r r r �os�getenv�printr �fitr �platform�system)�console�features� env_names�name�envs �//usr/lib/python3/dist-packages/rich/diagnose.py�reportr" |