From: Christopher Lenz Date: Fri, 29 Jun 2007 14:50:20 +0000 (+0000) Subject: Rename command-line script to avoid conflict with the OpenBabel project. Closes #34. X-Git-Tag: 1.0~457 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5d255fc8504f39b1eca0eb6192a853fe0bf4ac3;p=thirdparty%2Fbabel.git Rename command-line script to avoid conflict with the OpenBabel project. Closes #34. --- diff --git a/ChangeLog b/ChangeLog index bc0c3083..e96e2fdd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ http://svn.edgewall.org/repos/babel/tags/0.9.0/ 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 index 06cb0b8d..a2ea456b 100644 --- a/doc/cmdline.txt +++ b/doc/cmdline.txt @@ -14,10 +14,10 @@ systems. .. 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 @@ When properly installed, Babel provides a script called ``babel``:: 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 @@ compile 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 @@ extract 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 @@ init 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 @@ update 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 index 19420a84..90de0738 100755 --- a/setup.py +++ b/setup.py @@ -135,7 +135,7 @@ setup( entry_points = """ [console_scripts] - babel = babel.messages.frontend:main + pybabel = babel.messages.frontend:main [distutils.commands] compile_catalog = babel.messages.frontend:compile_catalog