Load each plugin in the plugin directory

Registered by Charles Edward Pax

For Gladex to load a plugin, the plugin must be listed in plugins/__init__.py . Gladex should go through each directory appearing in plugins/ and load each plugin automatically. This will allow a user to drop a plugin such as plugins/perl-experimental/ into plugins/ and get started right away.

The application Deluge already does this. See http://dev.deluge-torrent.org/browser/trunk/src/plugins.py

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Christopher Pax
Definition:
Approved
Series goal:
Accepted for 0.5
Implementation:
Beta Available
Milestone target:
milestone icon 0.5
Started by
Oumar Aziz OUATTARA

Sprints

Whiteboard

2008-02-23: pax: Chris, I thought this was done. Isn't this in trunk?
2008-02-23: paxmanchris: no it is not.
2008-02-27: wattazoum: I have implemented this on the linked branch (in the PluginManager class).What is left to do is to adapt the main code to use it . Please check the source in src/gladex/plugins/__init__.py

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.