build.sh: use git-show instead of git-show-ref to get the commit id
[sugaredwine.git] / setup.py
bloba7f7867811d94a5be147436a6aeeb95387ea074b
1 #!/usr/bin/env python
2 try:
3 from sugar.activity import bundlebuilder
4 bundlebuilder.start()
5 except ImportError:
6 import os
7 name='Wine'
8 os.system("find ./ | sed 's,^./,%s.activity/,g' > MANIFEST" % name)
9 os.system('rm %s.xo' % name)
10 os.chdir('..')
11 os.system('zip -r %s.xo %s.activity' % (name, name))
12 os.system('mv %s.xo ./%s.activity' % (name, name))
13 os.chdir('%s.activity' % name)