HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //usr/lib/python3.9/site-packages/virtualenv/activation/__pycache__/activator.cpython-39.opt-1.pyc
a

��:iX�@s4ddlZddlmZmZGdd�ded�ZdgZdS)�N)�ABCMeta�abstractmethodc@s<eZdZdZdd�Zedd��Zedd��Zedd	��Z	d
S)�	Activatorz5Generates 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
�C/usr/lib/python3.9/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�interpreterr
r
r�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�parserrr
r
r�add_parser_argumentsszActivator.add_parser_argumentscCst�dS)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)rZcreatorr
r
r�generate!szActivator.generateN)
�__name__�
__module__�__qualname__�__doc__r�classmethodrrrrr
r
r
rrs

r)�	metaclass)r�abcrrr�__all__r
r
r
r�<module>s'�