Ticket #2206 (closed enhancement: migrated)
Query setuptools entry points for plugins
| Reported by: | Felix.Schwarz | Owned by: | faide |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | TurboGears | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In TurboGears 1.x plugins which use a specific entry point have a chance to do specific actions on startup/shutdown. For TurboMail? it would be very nice to have this functionality in 2.0.
Unnecessary resource usage for plugins the user does not want: It should be encouraged for plugin writers to have a special flag like 'mail.on' in the configuration. If that flag is not set to True, the plugin must not do anything so no memory wasted :-)
While I don't have the time to provide you with code and unit tests, I can write the docs if the feature goes in.
Change History
Note: See
TracTickets for help on using
tickets.