class documentation

class extract_messages(Command):

View In Hierarchy

Message extraction command for use in setup.py scripts.

If correctly installed, this command is available to Setuptools-using setup scripts automatically. For projects using plain old distutils, the command needs to be registered explicitly in setup.py:

from babel.messages.frontend import extract_messages

setup(
    ...
    cmdclass = {'extract_messages': extract_messages}
)
Method ​_get​_mappings Undocumented
Method finalize​_options Undocumented
Method initialize​_options Undocumented
Method run Undocumented
Class Variable as​_args Undocumented
Class Variable boolean​_options Undocumented
Class Variable description Undocumented
Class Variable multiple​_value​_options Undocumented
Class Variable option​_aliases Undocumented
Class Variable option​_choices Undocumented
Class Variable user​_options Undocumented
Instance Variable add​_comments Undocumented
Instance Variable add​_location Undocumented
Instance Variable charset Undocumented
Instance Variable copyright​_holder Undocumented
Instance Variable include​_lineno Undocumented
Instance Variable input​_dirs Undocumented
Instance Variable input​_paths Undocumented
Instance Variable keywords Undocumented
Instance Variable mapping​_file Undocumented
Instance Variable msgid​_bugs​_address Undocumented
Instance Variable no​_default​_keywords Undocumented
Instance Variable no​_location Undocumented
Instance Variable no​_wrap Undocumented
Instance Variable omit​_header Undocumented
Instance Variable output​_file Undocumented
Instance Variable project Undocumented
Instance Variable sort​_by​_file Undocumented
Instance Variable sort​_output Undocumented
Instance Variable strip​_comments Undocumented
Instance Variable version Undocumented
Instance Variable width Undocumented

Inherited from Command:

Method __init__ Undocumented
Instance Variable ​_dry​_run Undocumented
Instance Variable distribution Undocumented
Instance Variable finalized Undocumented
Instance Variable force Undocumented
Instance Variable help Undocumented
Instance Variable verbose Undocumented
def _get_mappings(self):

Undocumented

def finalize_options(self):

Undocumented

def initialize_options(self):

Undocumented

def run(self):

Undocumented

as_args: str =
boolean_options: list[str] =
description: str =

Undocumented

multiple_value_options: tuple[str, ...] =
option_aliases: dict =
option_choices: dict =
user_options: list =

Undocumented

add_comments =

Undocumented

add_location =

Undocumented

charset: str =

Undocumented

copyright_holder =

Undocumented

include_lineno: bool =

Undocumented

input_dirs =

Undocumented

input_paths =

Undocumented

keywords =

Undocumented

mapping_file =

Undocumented

msgid_bugs_address =

Undocumented

no_default_keywords: bool =

Undocumented

no_location: bool =

Undocumented

no_wrap: bool =

Undocumented

omit_header: bool =

Undocumented

output_file =

Undocumented

project =

Undocumented

sort_by_file: bool =

Undocumented

sort_output: bool =

Undocumented

strip_comments: bool =

Undocumented

version =

Undocumented

width: int =

Undocumented