changeset 189:cdb266cd9a19 trunk

Rename command-line script to avoid conflict with the OpenBabel project. Closes #34.
author cmlenz
date Fri, 29 Jun 2007 14:50:20 +0000
parents 96f858026208
children 5041d90edf0c
files ChangeLog doc/cmdline.txt setup.py
diffstat 3 files changed, 16 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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 <dir2> ...
+    $ pybabel extract --help
+    usage: pybabel extract [options] dir1 <dir2> ...
     
     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
     
--- 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
Copyright (C) 2012-2017 Edgewall Software