<s> """<STR_LIT>""" <EOL> try : <EOL> import pkg_resources <EOL> except ImportError : <EOL> pkg_resources = None <EOL> LEXER_ENTRY_POINT = '<STR_LIT>' <EOL> FORMATTER_ENTRY_POINT = '<STR_LIT>' <EOL> STYLE_ENTRY_POINT = '<STR_LIT>' <EOL> FILTER_ENTRY_POINT = '<STR_LIT>' <EOL> def find_plugin_lexers ( ) : <EOL> if pkg_resources is None : <EOL> return <EOL> for entrypoint in pkg_resources . iter_entry_points ( LEXER_ENTRY_POINT ) : <EOL> yield entrypoint . load ( ) <EOL> def find_plugin_formatters ( ) : <EOL> if pkg_resources is None : <EOL> return <EOL> for entrypoint in pkg_resources . iter_entry_points ( FORMATTER_ENTRY_POINT ) : <EOL> yield entrypoint . name , entrypoint . load ( ) <EOL> def find_plugin_styles ( ) : <EOL> if pkg_resources is None : <EOL> return <EOL> for entrypoint in pkg_resources . iter_entry_points ( STYLE_ENTRY_POINT ) : <EOL> yield entrypoint . name , entrypoint . load ( ) <EOL> def find_plugin_filters ( ) : <EOL> if pkg_resources is None : <EOL> return <EOL> for entrypoint in pkg_resources . iter_entry_points ( FILTER_ENTRY_POINT ) : <EOL> yield entrypoint . name , entrypoint . load ( ) </s>
