Plugin System
Registered by
sh4wn
LuckyBot needs a plugin system. Plugins are loaded from the base plugins directory, and from the luckybot/plugins directory in the home dir. It must also be possible to load and unload plugins at runtime.
Whiteboard
Each plugin has his own directory, with at least an __init__.py file, containing init and destroy functions. Plugins can have other files in the directory like glade files, maybe an sqlite database or whatever.
Implementation:
class Plugin: represents a (loaded) plugin. It contains the plugin module object, methods for unloading and reloading the plugin, and the plugin metadata.
class PluginManager: The class which handles reading and loading plugins.
(?)