a :iX@s4ddlZddlmZmZGdddedZdgZdS)N)ABCMetaabstractmethodc@s<eZdZdZddZeddZeddZedd Z d S) Activatorz5Generates activate script for the virtual environmentcCs&|jdkrtjtn|j|_dS)zCreate a new activator generator. :param options: the parsed options as defined within :meth:`add_parser_arguments` .N)promptospathbasenamegetcwdZ flag_prompt)selfoptionsr C/usr/lib/python3.9/site-packages/virtualenv/activation/activator.py__init__szActivator.__init__cCsdS)zCheck 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 rsupportsszActivator.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 )rparserrr r radd_parser_argumentsszActivator.add_parser_argumentscCstdS)zGenerate 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)r Zcreatorr r rgenerate!szActivator.generateN) __name__ __module__ __qualname____doc__r classmethodrrrrr r r rrs  r) metaclass)rabcrrr__all__r r r rs'