oxtimeline as stand alone package
This commit is contained in:
parent
242b9f5158
commit
399e7d328b
21 changed files with 13 additions and 365 deletions
15
bin/oxicon
15
bin/oxicon
|
|
@ -1,15 +0,0 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
import os
|
||||
import sys
|
||||
|
||||
root = os.path.join(os.path.abspath(os.path.dirname(__file__)), '..')
|
||||
if os.path.exists(os.path.join(root, 'oxgst')):
|
||||
sys.path.insert(0, root)
|
||||
|
||||
from oxposter import icon
|
||||
|
||||
if __name__ == "__main__":
|
||||
icon.main()
|
||||
|
||||
15
bin/oxposter
15
bin/oxposter
|
|
@ -1,15 +0,0 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
import os
|
||||
import sys
|
||||
|
||||
root = os.path.join(os.path.abspath(os.path.dirname(__file__)), '..')
|
||||
if os.path.exists(os.path.join(root, 'oxgst')):
|
||||
sys.path.insert(0, root)
|
||||
|
||||
from oximage import oxdb_poster
|
||||
|
||||
if __name__ == "__main__":
|
||||
oxdb_poster.main()
|
||||
|
||||
|
|
@ -10,11 +10,11 @@ from optparse import OptionParser
|
|||
import Image
|
||||
|
||||
root = os.path.join(os.path.abspath(os.path.dirname(__file__)), '..')
|
||||
if os.path.exists(os.path.join(root, 'oxgst')):
|
||||
if os.path.exists(os.path.join(root, 'oxtimeline')):
|
||||
sys.path.insert(0, root)
|
||||
|
||||
|
||||
import oxgst
|
||||
import oxtimeline
|
||||
|
||||
if __name__ == '__main__':
|
||||
parser = OptionParser()
|
||||
|
|
@ -31,9 +31,9 @@ if __name__ == '__main__':
|
|||
|
||||
timeline = oxgst.Timeline(opts.input)
|
||||
timeline.extract(opts.prefix, opts.width, opts.height)
|
||||
oxgst.timeline.createTimelineMultiline(opts.prefix)
|
||||
oxgst.timeline.makeTiles(opts.prefix, 16, 3600)
|
||||
oxgst.timeline.makeTimelineOverview(opts.prefix, 1920, height=16)
|
||||
oxgst.timeline.makeTimelineOverview(opts.prefix, 1920, height=64)
|
||||
oxtimeline.createTimelineMultiline(opts.prefix)
|
||||
oxtimeline.makeTiles(opts.prefix, 16, 3600)
|
||||
oxtimeline.makeTimelineOverview(opts.prefix, 1920, height=16)
|
||||
oxtimeline.makeTimelineOverview(opts.prefix, 1920, height=64)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue