# HG changeset patch # User cmlenz # Date 1183128620 0 # Node ID e9136716b6155909bad69c12ed4650916c5cded3 # Parent 6df39fb2699e9bfd076371ba027bf19997fa625d Rename command-line script to avoid conflict with the OpenBabel project. Closes #34. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ consistency with the command-line frontend. * Added compilation of message catalogs to MO files. * Added updating of message catalogs from POT files. + * The name of the command-line script has been changed from just "babel" to + "pybabel" to avoid a conflict with the OpenBabel project (ticket #34). Version 0.8.1 diff --git a/doc/cmdline.txt b/doc/cmdline.txt --- a/doc/cmdline.txt +++ b/doc/cmdline.txt @@ -14,10 +14,10 @@ .. sectnum:: -When properly installed, Babel provides a script called ``babel``:: +When properly installed, Babel provides a script called ``pybabel``:: - $ babel --help - usage: babel subcommand [options] [args] + $ pybabel --help + usage: pybabel subcommand [options] [args] options: --version show program's version number and exit @@ -29,8 +29,8 @@ init create new message catalogs from a POT file update update existing message catalogs from a POT file -The ``babel`` script provides a number of sub-commands that do the actual work. -Those sub-commands are described below. +The ``pybabel`` script provides a number of sub-commands that do the actual +work. Those sub-commands are described below. compile @@ -39,8 +39,8 @@ The ``compile`` sub-command can be used to compile translation catalogs into binary MO files:: - $ babel compile --help - usage: babel compile [options] + $ pybabel compile --help + usage: pybabel compile [options] compile message catalogs to MO files @@ -76,8 +76,8 @@ The ``extract`` sub-command can be used to extract localizable messages from a collection of source files:: - $ babel extract --help - usage: babel extract [options] dir1 ... + $ pybabel extract --help + usage: pybabel extract [options] dir1 ... extract messages from source files and generate a POT file @@ -118,8 +118,8 @@ The `init` sub-command creates a new translations catalog based on a PO template file:: - $ babel init --help - usage: babel init [options] + $ pybabel init --help + usage: pybabel init [options] create new message catalogs from a POT file @@ -152,8 +152,8 @@ The `update` sub-command updates an existing new translations catalog based on a PO template file:: - $ babel update --help - usage: babel update [options] + $ pybabel update --help + usage: pybabel update [options] update existing message catalogs from a POT file diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -135,7 +135,7 @@ entry_points = """ [console_scripts] - babel = babel.messages.frontend:main + pybabel = babel.messages.frontend:main [distutils.commands] compile_catalog = babel.messages.frontend:compile_catalog