blob: 977ab034ca223380e6509ba60717a72f3a067380 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env python
# Copyright (C) IBM Corporation 2008
# Taken from the OLPC Wiki.
try:
from sugar.activity import bundlebuilder
bundlebuilder.start("InfoSlicer")
except ImportError:
import os
os.system("find ./ | sed 's,^./,InfoSlicer.activity/,g' > MANIFEST")
os.system('rm InfoSlicer.xo')
os.chdir('..')
os.system('zip -r InfoSlicer.xo InfoSlicer.activity')
os.system('mv InfoSlicer.xo ./InfoSlicer.activity')
os.chdir('InfoSlicer.activity')
|