opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
setuptools
/
_vendor
/
importlib_metadata
/
__pycache__
➕ New
📤 Upload
✎ Editing:
_compat.cpython-311.pyc
← Back
� �� h" � �J � d dl Z d dlZddgZd� Zd� Z G d� d� � Zd� ZdS )� N�install� NullFinderc �p � t j � | � � � � t � � | S )z� Class decorator for installation on sys.meta_path. Adds the backport DistributionFinder to sys.meta_path and attempts to disable the finder functionality of the stdlib DistributionFinder. )�sys� meta_path�append�disable_stdlib_finder)�clss �~/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/setuptools/_vendor/importlib_metadata/_compat.pyr r s1 � � �M���������������J� c �J � d� } t | t j � � D ]}|`�dS )z� Give the backport primacy for discovering path-based distributions by monkey-patching the stdlib O_O. See #91 for more background for rationale on this sketchy behavior. c �L � t | dd � � dk ot | d� � S )N� __module__�_frozen_importlib_external�find_distributions)�getattr�hasattr)�finders r �matchesz&disable_stdlib_finder.<locals>.matches s8 � ���L�$� � � )�*� T�.5�f�>R�.S�.S� Tr N)�filterr r r )r r s r r r sD � �T� T� T� ��#�-�0�0� &� &���%�%�&� &r c �( � e Zd ZdZed� � � ZdS )r zi A "Finder" (aka "MetaPathFinder") that never finds any modules, but may find distributions. c � � d S )N� )�args�kwargss r � find_speczNullFinder.find_spec- s � ��tr N)�__name__r �__qualname__�__doc__�staticmethodr r r r r r '