You should take a look at setuptools "entry_points". You can define your own entry point, and other packages can state that they implement it.
http://peak.telecommunity.com/DevCenter/setuptools#extensible-applications-and-frameworks TurboGears uses quite a few entry points. Some are defined by other packages (like paste) that turbogears is implementing, and some belong to turbogears. See the entry_points definition of setup.py: http://trac.turbogears.org/turbogears/browser/branches/1.0/setup.py So, using plugins, you can do things like add commands to tg-admin, add turbogears extensions (like identity), and add commands to the toolbox. Pretty cool stuff. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

