From a1a6016f0f2a8d8caf37ca1c85fd56ce5a05d7f7 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 18 Mar 2008 19:34:11 +0000 Subject: [PATCH] Move converter to its own dir. --- convert.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 convert.py diff --git a/convert.py b/convert.py deleted file mode 100644 index 9b48e3e5e..000000000 --- a/convert.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -""" - Convert the Python documentation to Sphinx - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - :copyright: 2007-2008 by Georg Brandl. - :license: BSD. -""" - -import sys -import os - -from converter import convert_dir - -if __name__ == '__main__': - try: - rootdir = sys.argv[1] - destdir = os.path.abspath(sys.argv[2]) - except IndexError: - print "usage: convert.py docrootdir destdir" - sys.exit() - - assert os.path.isdir(os.path.join(rootdir, 'texinputs')) - os.chdir(rootdir) - convert_dir(destdir, *sys.argv[3:])