o
    UÌh‹  ã                   @  s>   d dl mZ d dlZd dlmZmZ G dd„ deƒZdgZdS )é    )ÚannotationsN)ÚABCÚabstractmethodc                   @  s>   e Zd ZdZddd„Zedd„ ƒZedd	„ ƒZed
d„ ƒZ	dS )Ú	Activatorz6Generates activate script for the virtual environment.ÚreturnÚNonec                 C  s,   |j dkrtj t ¡ ¡| _dS |j | _dS )zŽ
        Create a new activator generator.

        :param options: the parsed options as defined within :meth:`add_parser_arguments`
        Ú.N)ÚpromptÚosÚpathÚbasenameÚgetcwdÚflag_prompt)ÚselfÚoptions© r   ús/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/virtualenv/activation/activator.pyÚ__init__
   s   ,zActivator.__init__c                 C  ó   dS )zÓ
        Check if the activation script is supported in the given interpreter.

        :param interpreter: the interpreter we need to support
        :return: ``True`` if supported, ``False`` otherwise
        Tr   )ÚclsÚinterpreterr   r   r   Úsupports   ó   zActivator.supportsc                 C  r   )z·
        Add CLI arguments for this activation script.

        :param parser: the CLI parser
        :param interpreter: the interpreter this virtual environment is based of
        Nr   )r   Úparserr   r   r   r   Úadd_parser_arguments   s    zActivator.add_parser_argumentsc                 C  s   t ‚)zÏ
        Generate activate script for the given creator.

        :param creator: the creator (based of :class:`virtualenv.create.creator.Creator`) we used to create this         virtual environment
        )ÚNotImplementedError)r   Úcreatorr   r   r   Úgenerate%   r   zActivator.generateN)r   r   )
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úclassmethodr   r   r   r   r   r   r   r   r      s    

	
r   )Ú
__future__r   r
   Úabcr   r   r   Ú__all__r   r   r   r   Ú<module>   s    *ÿ