blob: 8679a7c896d4730ddb49722c57bd53ce0ec599ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env python
try:
from sugar.activity import bundlebuilder
if __name__ == "__main__":
bundlebuilder.start()
except ImportError:
import os
os.system("find ./ | sed 's,^./,honeypot.activity/,g' > MANIFEST")
os.system('rm honeypot.xo')
os.chdir('..')
os.system('zip -r honeypot.xo honeypot.activity')
os.system('mv honeypot.xo ./honeypot.activity')
os.chdir('honeypot.activity')
|