2009/5/5 Sebastien Binet <seb.bi...@gmail.com>: > hi, > >> That allows people to create their own plugins in separate packages, >> and use them by tweaking the configuration >> file. The only think that entry point provided here is an automatic >> registration at installation time of the "rss" plugins, >> so my Atomisatior application can discover then load it at run time. >> >> So in your way of seeing thing, you'd rather see this registration >> mechanism at the application level, >> but the you need to provide specific installation instructions for >> people that want to add plugins. >> e.g. "put your package in this /plugins directory" for example. > > wouldn't this be tackled by providing a plugin-discoverer plugin ? > kind of like the new import hooks of pep-302 [1] where you have module > finders separated from module loaders, or like this library I have been using > in my field [2]
That would be better to use these hooks rather than __import__ I believe, but I don't think it changes the problem (eg locate the plugin) _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig