o
    Wi                     @  sN   d dl mZ d dlmZ d dlmZ erd dlmZ G dd deZdgZ	dS )    )annotations)TYPE_CHECKING)ViaTemplateActivator)Iteratorc                   @  s$   e Zd Zd
ddZedddZd	S )PowerShellActivatorreturnIterator[str]c                 c  s    dV  d S )Nzactivate.ps1 )selfr	   r	   ]/home/ubuntu/.local/lib/python3.10/site-packages/virtualenv/activation/powershell/__init__.py	templates   s   
zPowerShellActivator.templatesstringstrc                 C  s   |  dd} d|  dS )a  This should satisfy PowerShell quoting rules [1], unless the quoted string is passed directly to Windows native commands [2].

        [1]: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_quoting_rules
        [2]:
        https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_parsing#passing-arguments-that-contain-quote-characters

        'z'')replace)r   r	   r	   r   quote   s   	zPowerShellActivator.quoteN)r   r   )r   r   r   r   )__name__
__module____qualname__r   staticmethodr   r	   r	   r	   r   r      s    
r   N)

__future__r   typingr   "virtualenv.activation.via_templater   collections.abcr   r   __all__r	   r	   r	   r   <module>   s    