o
    Wi                     @  sn   d dl mZ d dlZd dlmZ d dlmZ er*d dlmZ d dl	m
Z
 d dlmZ G dd	 d	eZd	gZdS )
    )annotationsN)TYPE_CHECKING)ViaTemplateActivator)Iterator)
PythonInfo)Creatorc                      sD   e Zd ZedddZddd	ZedddZd fddZ  Z	S )BatchActivatorinterpreterr   returnboolc                 C  s
   |j dkS )Nnt)os)clsr	    r   X/home/ubuntu/.local/lib/python3.10/site-packages/virtualenv/activation/batch/__init__.pysupports   s   
zBatchActivator.supportsIterator[str]c                 c  s    dV  dV  dV  d S )Nzactivate.batzdeactivate.batz	pydoc.batr   )selfr   r   r   	templates   s   
zBatchActivator.templatesstringstrc                 C  s   | S )Nr   )r   r   r   r   quote   s   zBatchActivator.quotereplacementsdict[str, str]templatecreatorr   c                   s(   t  |||}|tjddtjS )N
)superinstantiate_templatereplacer   linesep)r   r   r   r   base	__class__r   r   r      s   z#BatchActivator.instantiate_template)r	   r   r
   r   )r
   r   )r   r   r
   r   )r   r   r   r   r   r   r
   r   )
__name__
__module____qualname__classmethodr   r   staticmethodr   r   __classcell__r   r   r"   r   r      s    
r   )
__future__r   r   typingr   "virtualenv.activation.via_templater   collections.abcr   python_discoveryr   virtualenv.create.creatorr   r   __all__r   r   r   r   <module>   s    