관리-도구
편집 파일: modules.cpython-311.pyc
� �܋f> � � � d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z e rd dl mZ d dl mZ d dl m Z d d l mZ d d lmZ dad� Zd � Zd� Z G d� de� � ZdS )� )�absolute_import)�Hub)�Integration��add_global_event_processor)� TYPE_CHECKING)�Any)�Dict)�Tuple)�Iterator)�EventNc �* � | � � � S �N)�lower)�names �V/opt/cloudlinux/venv/lib64/python3.11/site-packages/sentry_sdk/integrations/modules.py�_normalize_module_namer s � ��:�:�<�<�� c # �X K � ddl m} | � � � D ];}|j d }|�*| � |� � }|�t |� � |fV � �<d S # t $ rC dd l}n# t $ r Y Y d S w xY w|j D ]}t |j � � |j fV � � Y d S w xY w)Nr )�metadata�Name) � importlibr � distributions�versionr �ImportError� pkg_resources�working_set�key)r �distr r r �infos r �_generate_installed_modulesr! s/ � � � �A�&�&�&�&�&�&��*�*�,�,� @� @�D��=��(�D� ��"�*�*�4�0�0���&�0��6�6��?�?�?�?�� @� @�� � A� A� A� � � � � � ��� � � ��F�F�F� ���� "�-� A� A�D�(���2�2�D�L�@�@�@�@�@� A� A� A�A���s6 �AA � B)�'A,�+B)�, A;�6B)�:A;�;*B)�(B)c �T � t �t t � � � � a t S r )�_installed_modules�dictr! � r r �_get_installed_modulesr&