summaryrefslogtreecommitdiff
path: root/sandbox/grubert/man.py
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/grubert/man.py')
-rwxr-xr-xsandbox/grubert/man.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/sandbox/grubert/man.py b/sandbox/grubert/man.py
deleted file mode 100755
index f3f81b241..000000000
--- a/sandbox/grubert/man.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env python
-
-# Author:
-# Contact: grubert@users.sf.net
-# Copyright: This module has been placed in the public domain.
-
-"""
-man.py
-======
-
-This module provides a simple command line interface that uses the
-man page writer to output from ReStructuredText source.
-"""
-
-import locale
-try:
- locale.setlocale(locale.LC_ALL, '')
-except:
- pass
-
-from docutils.core import publish_cmdline, default_description
-from man import ManPageWriter
-
-description = ("Generates plain man. " + default_description)
-
-publish_cmdline(writer=ManPageWriter.Writer(), description=description)