Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
virtualenv
/
run
/
plugin
/
__pycache__
[ HOME ]
Exec
Submit
activators.cpython-311.pyc
� � hy � �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 ��q/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-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 �&