dbe42ac6d9
the python path and run main().
13 lines
283 B
Python
13 lines
283 B
Python
#!/usr/bin/env python
|
|
import sys
|
|
|
|
from sugar.bundle.activitybundle import ActivityBundle
|
|
|
|
from dbus.mainloop.glib import DBusGMainLoop
|
|
DBusGMainLoop(set_as_default=True)
|
|
|
|
bundle = ActivityBundle(sys.argv[1])
|
|
bundle.install()
|
|
|
|
print "%s: '%s' installed." % (sys.argv[0], sys.argv[1])
|