| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/virtualenv/run/plugin/__pycache__/ |
Upload File : |
�
�h�cy � �L � d dl mZ d dlmZ ddlmZ G d� de� � ZdgZdS )� )�ArgumentTypeError)�OrderedDict� )�ComponentBuilderc �6 � � e Zd Z� fd�Zd� Zd� Zd� Zd� Z� xZS )�ActivationSelectorc � ��� d | _ t �fd�| � d� � � � � D � � � � }t � � � �|d|� � d| j _ d | _ d S )Nc 3 �P �K � | ] \ }}|� �� � �||fV � �!d S )N)�supports)�.0�k�v�interpreters ��B/usr/lib/python3/dist-packages/virtualenv/run/plugin/activators.py� <genexpr>z.ActivationSelector.__init__.<locals>.<genexpr>
sQ �� � � �
�
��q�!�a�j�j�Yd�Ne�Ne�
�
��F�
�
�
�
�
�
� zvirtualenv.activate�
activatorszoptions for activation scripts) �defaultr �options�items�super�__init__�parser�description�active)�selfr r �possible� __class__s ` �r r zActivationSelector.__init__ s� ��� �����
�
�
�
�#�|�|�,A�B�B�H�H�J�J�
�
�
�
�
�� ������f�l�H�E�E�E�"B��������r c � � d� |� � | _ | j � d|� �| j ddd| j �� � d S )N�,z--�comma_sep_listFz1activators to generate - default is all supported)r �metavar�required�help�type)�joinr r �add_argument�_extract_activators)r �name�choicess r �add_selector_arg_parsez)ActivationSelector.add_selector_arg_parse s[ � ��x�x��(�(����� � ���K�K��L�$��D��)�
!�
�
�
�
�
r c � � � d� |� d� � D � � }� fd�|D � � }|r%t dd� |� � � �� � �|S )Nc �^ � g | ]*}|� � � �|� � � ��+S � )�strip)r �es r �
<listcomp>z:ActivationSelector._extract_activators.<locals>.<listcomp> s- � �K�K�K�!������K�A�G�G�I�I�K�K�Kr r c �&