%PDF- %PDF-
Direktori : /lib/python3/dist-packages/setuptools/extern/__pycache__/ |
Current File : //lib/python3/dist-packages/setuptools/extern/__pycache__/__init__.cpython-312.pyc |
� _�d� � �\ � d dl Zd dlZ G d� d� ZdZ eeed� 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 �</usr/lib/python3/dist-packages/setuptools/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 ]<