#!/usr/bin/env python import sys from ConfigParser import ConfigParser import locale import os import tempfile from sugar.bundle.bundle import Bundle, MalformedBundleException from sugar import activity from sugar import env from sugar.bundle.activitybundle import ActivityBundle from dbus.mainloop.glib import DBusGMainLoop DBusGMainLoop(set_as_default=True) activities = activity.get_registry().get_activities() for a in activities: print "Name = ", a.name, "== ", a.bundle_id, ", Version = ", a.version