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