Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 50404d0e2304077ca98a5b558848608a66ae79e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python
try:
	from sugar.activity import bundlebuilder
	bundlebuilder.start("moon")
except ImportError:
	import os
	os.system("find ./ | sed 's,^./,Moon.activity/,g' | sed 's,//,/,g' | grep -v /.git | grep -v .DS_Store > MANIFEST")
	os.system('rm Moon.xo')
	os.chdir('..')
	os.system('zip -r Moon.xo Moon.activity -x \*/.git\* \*.DS_Store')
	os.system('mv Moon.xo ./Moon.activity')
	os.chdir('Moon.activity')