I noticed stevedore when I updated to latest virtualenvwrapper recently.
I think it's nice to be able to do something like this:
from setuptools import setup
'super_extension = super_extension',
I'm just throwing this out as an idea since it would add an extra dependancy.
Load extensions from entry points with stevedore
Add stevedore as a dependency
I think pkg_resources has enough support for loading entry points. [ep.load() for ep in pkg_resources.iter_entry_points('flask.ext')] returns [super_extension].
[ep.load() for ep in pkg_resources.iter_entry_points('flask.ext')]
@magax Yeah. But I was also thinking about other stevedore use cases such as template/db drivers, enabled extensions, etc.
I think this is unnecessary at this point. Thanks though, looks like something to consider in the future.