Fix: docutils/__init__.py __version_info__ must be changed manually
[docutils.git] / sandbox / texinfo-writer / rst2texinfo.py
blob648da6755b0818d91316394e73317d01f7b20ff3
1 #!/usr/bin/env python
3 import locale
4 try:
5 locale.setlocale(locale.LC_ALL, '')
6 except:
7 pass
9 from docutils.core import publish_cmdline, default_description
10 from texinfo import Writer
13 def main():
14 description = ("Converts reStructuredText to Texinfo. "
15 + default_description)
16 publish_cmdline(writer=Writer(), description=description)
19 if __name__ == '__main__':
20 main()