summaryrefslogtreecommitdiff
path: root/sandbox/aahz/OO/graphics_output.py
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-01-09 20:44:25 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-01-09 20:44:25 +0000
commitd77fdfef70e08114f57cbef5d91707df8717ea9f (patch)
tree49444e3486c0c333cb7b33dfa721296c08ee4ece /sandbox/aahz/OO/graphics_output.py
parent53cd16ca6ca5f638cbe5956988e88f9339e355cf (diff)
parent3993c4097756e9885bcfbd07cb1cc1e4e95e50e4 (diff)
downloaddocutils-0.4.tar.gz
Release 0.4: tagging released revisiondocutils-0.4
git-svn-id: http://svn.code.sf.net/p/docutils/code/tags/docutils-0.4@4268 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/aahz/OO/graphics_output.py')
-rw-r--r--sandbox/aahz/OO/graphics_output.py28
1 files changed, 0 insertions, 28 deletions
diff --git a/sandbox/aahz/OO/graphics_output.py b/sandbox/aahz/OO/graphics_output.py
deleted file mode 100644
index 35d2f9516..000000000
--- a/sandbox/aahz/OO/graphics_output.py
+++ /dev/null
@@ -1,28 +0,0 @@
-import sys
-import os
-
-SOURCE_EXT = '.fig'
-
-TypeList = {
- 'eps': {
- 'ext': '.eps',
- 'cmd': 'fig2dev -L eps %s %s'
- },
- 'pdf': {
- 'ext': '.pdf',
- 'cmd': 'fig2dev -L pdf %s %s'
- }
- }
-
-type = TypeList[sys.argv[1]]
-SourceDir = sys.argv[2]
-DestDir = sys.argv[3]
-
-for name in os.listdir(SourceDir):
- base, ext = os.path.splitext(name)
- if ext == SOURCE_EXT:
- src = SourceDir + '/' + name
- dest = DestDir + '/' + base + type['ext']
- cmd = type['cmd'] % (src, dest)
- print cmd
- os.system(cmd)