U
    |e                     @  s@   d dl mZ d dlZd dlmZmZ G dd dedZdgZdS )    )annotationsN)ABCMetaabstractmethodc                   @  sB   e Zd ZdZd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.None)returnc                 C  s&   |j dkrtjt n|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getcwdZflag_prompt)selfoptions r   C/tmp/pip-unpacked-wheel-tuxcr54r/virtualenv/activation/activator.py__init__
   s    zActivator.__init__c                 C  s   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   s    zActivator.supportsc                 C  s   dS )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 dS )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
        N)NotImplementedError)r   Zcreatorr   r   r   generate%   s    zActivator.generateN)
__name__
__module____qualname____doc__r   classmethodr   r   r   r   r   r   r   r   r      s   
	
r   )	metaclass)
__future__r   r
   abcr   r   r   __all__r   r   r   r   <module>   s
   *