관리-도구
편집 파일: base.cpython-311.pyc
� �܋f� � � � d dl Z d dlmZ e j dk r d dlmZ dZnAd dlmZmZ e d� ed� � � d � � dd � D � � � � Z G d� d� � Z G d � de� � ZddgZ dS )� N)�OrderedDict)� � )�entry_points� )r �versionc # �4 K � | ]}t |� � V � �d S �N)�int)�.0�is �k/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/virtualenv/run/plugin/base.py� <genexpr>r s( � � � �&d�&d�!�s�1�v�v�&d�&d�&d�&d�&d�&d� �importlib_metadata�.� c �B � e Zd ZdZdZed� � � Zed� � � ZdS )�PluginLoaderNc �4 � t j dk st dk r?t d� | � � � � |�� � D � � � � S t d� | � � � � |i � � D � � � � S )N)r � )r � c 3 �L K � | ]}|j |� � � fV � � d S r ��name�load�r �es r r z0PluginLoader.entry_points_for.<locals>.<genexpr> s1 � � � �`�`�a��������1�`�`�`�`�`�`r )�groupc 3 �L K � | ]}|j |� � � fV � � d S r r r s r r z0PluginLoader.entry_points_for.<locals>.<genexpr> s1 � � � �[�[�a��������1�[�[�[�[�[�[r )�sys�version_info�importlib_metadata_versionr r �select�get��cls�keys r �entry_points_forzPluginLoader.entry_points_for s� � ���w�&�&�*D��*N�*N��`�`�3�;K�;K�;M�;M�;T�;T�[^�;T�;_�;_�`�`�`�`�`�`��[�[�3�;K�;K�;M�;M�;Q�;Q�RU�WY�;Z�;Z�[�[�[�[�[�[r c �b � t j �t � � t _ t j S r )r � _ENTRY_POINTSr r r r r zPluginLoader.entry_points s � ��%�-�)5���L�&��)�)r ) �__name__� __module__�__qualname__�_OPTIONSr+ �classmethodr) �staticmethodr r r r r r sU � � � � � ��H��M��\� \� �[�\� �*� *� �\�*� *� *r r c �B � e Zd Zd� Zed� � � Zd� Zd� Zd� Zd� Z dS )�ComponentBuilderc �� � || _ || _ d | _ || _ |� |�� � | _ | � |t | j � � � � d S )N)�title)�interpreterr �_impl_class�possible�add_argument_group�parser�add_selector_arg_parse�list)�selfr6 r: r r8 s r �__init__zComponentBuilder.__init__! s^ � �&����� ���� �� ��/�/�d�/�;�;����#�#�D�$�t�}�*=�*=�>�>�>�>�>r c �R � | j �| � |� � | _ | j S r )r/ r) r&