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ÚgetcwdZ flag_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Ús