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