]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Rename command-line script to avoid conflict with the OpenBabel project. Closes #34.
authorChristopher Lenz <cmlenz@gmail.com>
Fri, 29 Jun 2007 14:50:20 +0000 (14:50 +0000)
committerChristopher Lenz <cmlenz@gmail.com>
Fri, 29 Jun 2007 14:50:20 +0000 (14:50 +0000)
ChangeLog
doc/cmdline.txt
setup.py

index bc0c3083bb5c7c17d7b2bc0da84a74fbac361370..e96e2fdd5912095cb521fbf1358e072e4af0d4f2 100644 (file)
--- 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
index 06cb0b8de6dd43291e423af8cc82cecccbc743ef..a2ea456b7e7d99413c67e3aa3743488c0c3fb4b2 100644 (file)
@@ -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 <dir2> ...
+    $ pybabel extract --help
+    usage: pybabel extract [options] dir1 <dir2> ...
     
     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
     
index 19420a84a868f05fadde73e822a5454c264a4eb1..90de07389dd153683e4fe9f800b25c4d76b97fda 100755 (executable)
--- 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