Hacked By AnonymousFox

Current Path : /opt/alt/python37/lib/python3.7/site-packages/virtualenv/activation/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/virtualenv/activation/__pycache__/activator.cpython-37.pyc

B

���a��@sPddlmZmZddlZddlmZmZddlmZee�Gdd�de	��Z
dS)�)�absolute_import�unicode_literalsN)�ABCMeta�abstractmethod)�
add_metaclassc@s<eZdZdZdd�Zedd��Zedd��Zedd	��Z	d
S)�	Activatorz8Generates an activate script for the virtual environmentcCs&|jdkrtj�t���n|j|_dS)z�Create a new activator generator.

        :param options: the parsed options as defined within :meth:`add_parser_arguments`
        �.N)�prompt�os�path�basename�getcwdZflag_prompt)�self�options�r�P/opt/alt/python37/lib/python3.7/site-packages/virtualenv/activation/activator.py�__init__
szActivator.__init__cCsdS)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�interpreterrrr�supportsszActivator.supportscCsdS)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�parserrrrr�add_parser_argumentsszActivator.add_parser_argumentscCst�dS)z�Generate the 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)rZcreatorrrr�generate&szActivator.generateN)
�__name__�
__module__�__qualname__�__doc__r�classmethodrrrrrrrrr	s
		r)�
__future__rrr
�abcrrZsixr�objectrrrrr�<module>s


Hacked By AnonymousFox1.0, Coded By AnonymousFox