From 242b9f515884f49fc65006b76de3ec7d2c257873 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 14 Oct 2010 12:37:14 +0200 Subject: [PATCH] add type, install oxtimeline --- bin/oxtimeline | 4 ++-- setup.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/oxtimeline b/bin/oxtimeline index 508fa16..84df49e 100755 --- a/bin/oxtimeline +++ b/bin/oxtimeline @@ -18,8 +18,8 @@ import oxgst if __name__ == '__main__': parser = OptionParser() - parser.add_option('-x', '--width', dest='width', help='pixels per tile, defaults to 1500px', default=1500) - parser.add_option('-y', '--height', dest='height', help='timeline height, defaults to 64px', default=64) + parser.add_option('-x', '--width', dest='width', help='pixels per tile, defaults to 1500px', default=1500, type="int") + parser.add_option('-y', '--height', dest='height', help='timeline height, defaults to 64px', default=64, type="int") parser.add_option('-o', '--prefix', dest='prefix', help='prefix for timeline tiles') parser.add_option('-i', '--input', dest='input', help='video input') (opts, args) = parser.parse_args() diff --git a/setup.py b/setup.py index 4f698d9..63d2195 100644 --- a/setup.py +++ b/setup.py @@ -8,6 +8,7 @@ from distutils.core import setup setup(name="oxtools", scripts = [ 'bin/oxposter', + 'bin/oxtimeline', ], packages = [ 'oxgst',