Jeffrey C. Ollie 2b91a1
From 5deba844dd93ffe65f8b82776db81326bbbe023a Mon Sep 17 00:00:00 2001
Jeffrey C. Ollie 2b91a1
From: cmlenz <cmlenz@59ecc08e-a131-0410-9ea7-d4c0f28ac310>
Jeffrey C. Ollie 2b91a1
Date: Fri, 29 Jun 2007 14:50:20 +0000
Jeffrey C. Ollie 2b91a1
Subject: [PATCH] Rename command-line script to avoid conflict with the OpenBabel project. Closes #34.
Jeffrey C. Ollie 2b91a1
Jeffrey C. Ollie 2b91a1
---
Jeffrey C. Ollie 2b91a1
 ChangeLog       |    8 ++++++++
Jeffrey C. Ollie 2b91a1
 doc/cmdline.txt |   26 +++++++++++++-------------
Jeffrey C. Ollie 2b91a1
 setup.py        |    2 +-
Jeffrey C. Ollie 2b91a1
 3 files changed, 22 insertions(+), 14 deletions(-)
Jeffrey C. Ollie 2b91a1
Jeffrey C. Ollie 2b91a1
diff --git a/ChangeLog b/ChangeLog
Jeffrey C. Ollie 2b91a1
index a6e24e5..648f927 100644
Jeffrey C. Ollie 2b91a1
--- a/ChangeLog
Jeffrey C. Ollie 2b91a1
+++ b/ChangeLog
Jeffrey C. Ollie 2b91a1
@@ -1,3 +1,11 @@
Jeffrey C. Ollie 2b91a1
+Version 0.9
Jeffrey C. Ollie 2b91a1
+http://svn.edgewall.org/repos/babel/tags/0.9.0/
Jeffrey C. Ollie 2b91a1
+(?, from branches/stable/0.9.x)
Jeffrey C. Ollie 2b91a1
+
Jeffrey C. Ollie 2b91a1
+ * The name of the command-line script has been changed from just "babel" to
Jeffrey C. Ollie 2b91a1
+   "pybabel" to avoid a conflict with the OpenBabel project (ticket #34).
Jeffrey C. Ollie 2b91a1
+
Jeffrey C. Ollie 2b91a1
+
Jeffrey C. Ollie 2b91a1
 Version 0.8
Jeffrey C. Ollie 2b91a1
 http://svn.edgewall.org/repos/babel/tags/0.8.0/
Jeffrey C. Ollie 2b91a1
 (Jun 20 2007, from branches/stable/0.8.x)
Jeffrey C. Ollie 2b91a1
diff --git a/doc/cmdline.txt b/doc/cmdline.txt
Jeffrey C. Ollie 2b91a1
index 637e3ea..cd89842 100644
Jeffrey C. Ollie 2b91a1
--- a/doc/cmdline.txt
Jeffrey C. Ollie 2b91a1
+++ b/doc/cmdline.txt
Jeffrey C. Ollie 2b91a1
@@ -14,21 +14,21 @@ systems.
Jeffrey C. Ollie 2b91a1
 .. sectnum::
Jeffrey C. Ollie 2b91a1
 
Jeffrey C. Ollie 2b91a1
 
Jeffrey C. Ollie 2b91a1
-When properly installed, Babel provides a script called ``babel``::
Jeffrey C. Ollie 2b91a1
+When properly installed, Babel provides a script called ``pybabel``::
Jeffrey C. Ollie 2b91a1
 
Jeffrey C. Ollie 2b91a1
-    $ babel --help
Jeffrey C. Ollie 2b91a1
-    usage: babel subcommand [options] [args]
Jeffrey C. Ollie 2b91a1
+    $ pybabel --help
Jeffrey C. Ollie 2b91a1
+    usage: pybabel subcommand [options] [args]
Jeffrey C. Ollie 2b91a1
 
Jeffrey C. Ollie 2b91a1
     options:
Jeffrey C. Ollie 2b91a1
-      --version             show program's version number and exit
Jeffrey C. Ollie 2b91a1
-      -h, --help            show this help message and exit
Jeffrey C. Ollie 2b91a1
+      --version   show program's version number and exit
Jeffrey C. Ollie 2b91a1
+      -h, --help  show this help message and exit
Jeffrey C. Ollie 2b91a1
 
Jeffrey C. Ollie 2b91a1
     subcommands:
Jeffrey C. Ollie 2b91a1
-      extract   extract messages from source files and generate a POT file
Jeffrey C. Ollie 2b91a1
-      init      create new message catalogs from a template
Jeffrey C. Ollie 2b91a1
+      extract     extract messages from source files and generate a POT file
Jeffrey C. Ollie 2b91a1
+      init        create new message catalogs from a template
Jeffrey C. Ollie 2b91a1
 
Jeffrey C. Ollie 2b91a1
-The ``babel`` script provides a number of sub-commands that do the actual work.
Jeffrey C. Ollie 2b91a1
-Those sub-commands are described below.
Jeffrey C. Ollie 2b91a1
+The ``pybabel`` script provides a number of sub-commands that do the actual
Jeffrey C. Ollie 2b91a1
+work. Those sub-commands are described below.
Jeffrey C. Ollie 2b91a1
 
Jeffrey C. Ollie 2b91a1
 
Jeffrey C. Ollie 2b91a1
 extract
Jeffrey C. Ollie 2b91a1
@@ -37,8 +37,8 @@ extract
Jeffrey C. Ollie 2b91a1
 The ``extract`` sub-command can be used to extract localizable messages from
Jeffrey C. Ollie 2b91a1
 a collection of source files::
Jeffrey C. Ollie 2b91a1
 
Jeffrey C. Ollie 2b91a1
-    $ babel extract --help
Jeffrey C. Ollie 2b91a1
-    usage: babel extract [options] dir1 <dir2> ...
Jeffrey C. Ollie 2b91a1
+    $ pybabel extract --help
Jeffrey C. Ollie 2b91a1
+    usage: pybabel extract [options] dir1 <dir2> ...
Jeffrey C. Ollie 2b91a1
     
Jeffrey C. Ollie 2b91a1
     extract messages from source files and generate a POT file
Jeffrey C. Ollie 2b91a1
     
Jeffrey C. Ollie 2b91a1
@@ -79,8 +79,8 @@ init
Jeffrey C. Ollie 2b91a1
 The `init` sub-command creates a new translations catalog based on a PO
Jeffrey C. Ollie 2b91a1
 template file::
Jeffrey C. Ollie 2b91a1
 
Jeffrey C. Ollie 2b91a1
-    $ babel init --help
Jeffrey C. Ollie 2b91a1
-    usage: babel init [options] 
Jeffrey C. Ollie 2b91a1
+    $ pybabel init --help
Jeffrey C. Ollie 2b91a1
+    usage: pybabel init [options] 
Jeffrey C. Ollie 2b91a1
     
Jeffrey C. Ollie 2b91a1
     create new message catalogs from a template
Jeffrey C. Ollie 2b91a1
     
Jeffrey C. Ollie 2b91a1
diff --git a/setup.py b/setup.py
Jeffrey C. Ollie 2b91a1
index f9c098b..a519f81 100755
Jeffrey C. Ollie 2b91a1
--- a/setup.py
Jeffrey C. Ollie 2b91a1
+++ b/setup.py
Jeffrey C. Ollie 2b91a1
@@ -135,7 +135,7 @@ setup(
Jeffrey C. Ollie 2b91a1
 
Jeffrey C. Ollie 2b91a1
     entry_points = """
Jeffrey C. Ollie 2b91a1
     [console_scripts]
Jeffrey C. Ollie 2b91a1
-    babel = babel.messages.frontend:main
Jeffrey C. Ollie 2b91a1
+    pybabel = babel.messages.frontend:main
Jeffrey C. Ollie 2b91a1
     
Jeffrey C. Ollie 2b91a1
     [distutils.commands]
Jeffrey C. Ollie 2b91a1
     extract_messages = babel.messages.frontend:extract_messages
Jeffrey C. Ollie 2b91a1
-- 
Jeffrey C. Ollie 2b91a1
1.5.2.GIT
Jeffrey C. Ollie 2b91a1