관리-도구
편집 파일: __init__.cpython-312.pyc
� t��e� � �Z � d dl Zd dlZ G d� d� ZdZ eee� j � y)� Nc �N � e Zd ZdZdd�Zed� � Zd� Zd� Zd� Z d� Z dd �Zd � Zy) �VendorImporterz� A PEP 302 meta path importer for finding optionally-vendored or otherwise naturally-installed packages from root_name. Nc �h � || _ t |� | _ |xs |j dd� | _ y )N�extern�_vendor)� root_name�set�vendored_names�replace� vendor_pkg)�selfr r r s ��/builddir/build/BUILDROOT/alt-python312-setuptools-69.0.2-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pkg_resources/extern/__init__.py�__init__zVendorImporter.__init__ s/ � �"���!�.�1���$�N� �(9�(9�(�I�(N��� c # �6 K � | j dz �� d�� y�w)zL Search first the vendor package then as a natural package. �.� N)r �r s r �search_pathzVendorImporter.search_path s � �� � �o�o��#�#���s �c � � |j | j dz � \ }}}| xr) t t |j | j � � S )z,Figure out if the target module is vendored.r )� partitionr �any�map� startswithr )r �fullname�root�base�targets r �_module_matches_namespacez(VendorImporter._module_matches_namespace sG � �%�/�/�����0D�E���d�F��x�L�C��F�$5�$5�t�7J�7J� K�L�Lr c �@ � |j | j dz � \ }}}| j D ]<