diff options
author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-06-15 22:57:26 +0000 |
---|---|---|
committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-06-15 22:57:26 +0000 |
commit | 176a9aee4b913a826bb1a82e0569dd6d38bfabae (patch) | |
tree | 7e58e21571c386f270687b467cec071c50032f95 /sandbox/richard/pythonpoint/rst2pythonpoint.py | |
parent | 6648188453d188ea81523ed63ca92e6f4c459ef0 (diff) | |
download | docutils-176a9aee4b913a826bb1a82e0569dd6d38bfabae.tar.gz |
added front end for PythonPoint writer
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3481 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/richard/pythonpoint/rst2pythonpoint.py')
-rwxr-xr-x | sandbox/richard/pythonpoint/rst2pythonpoint.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sandbox/richard/pythonpoint/rst2pythonpoint.py b/sandbox/richard/pythonpoint/rst2pythonpoint.py new file mode 100755 index 000000000..becb88155 --- /dev/null +++ b/sandbox/richard/pythonpoint/rst2pythonpoint.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python + +# Author: Felix Wiemann +# Contact: Felix_Wiemann@ososo.de +# Revision: $Revision$ +# Date: $Date$ +# Copyright: This module has been placed in the public domain. + +""" +A minimal front end to the Docutils Publisher, producing PythonPoint XML. +""" + +try: + import locale + locale.setlocale(locale.LC_ALL, '') +except: + pass + +from docutils.core import publish_cmdline, default_description + + +description = ('Generates PythonPoint documents from standalone reStructuredText ' + 'sources. ' + default_description) + +publish_cmdline(writer_name='pythonpoint', description=description) |