HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/virtualenv/activation/__pycache__/activator.cpython-310.pyc
o

$�"b��@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���|_dS|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�getcwd�flag_prompt)�self�options�r�A/usr/lib/python3/dist-packages/virtualenv/activation/activator.py�__init__
s,zActivator.__init__cC�dS)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�supports�zActivator.supportscCr)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�)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
        )�NotImplementedError)r�creatorrrr�generate&rzActivator.generateN)
�__name__�
__module__�__qualname__�__doc__r�classmethodrrrrrrrrr	s

r)�
__future__rrr
�abcrr�sixr�objectrrrrr�<module>s