4ec5022e4b
Only log the full traceback for an import error from an extension if debug logging is enabled. This avoids spurious tracebacks in the log when an application probes for all available extensions or when a dependency of an extension is not installed (in that case the error message itself should be sufficient to debug the issue). Change-Id: I43c24f3791d575c2ecf0d08d82d9de5d74ec1150 Signed-off-by: Doug Hellmann <doug@doughellmann.com> |
||
---|---|---|
doc | ||
stevedore | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
.travis.yml | ||
CONTRIBUTING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
announce.rst | ||
requirements.txt | ||
run_sphinx | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
stevedore -- Manage dynamic plugins for Python applications
Python makes loading code dynamically easy, allowing you to configure
and extend your application by discovering and loading extensions
("plugins") at runtime. Many applications implement their own
library for doing this, using __import__
or
importlib
. stevedore avoids creating yet another extension
mechanism by building on top of setuptools
entry points. The code for managing entry points tends to be
repetitive, though, so stevedore provides manager classes for
implementing common patterns for using dynamically loaded
extensions.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/stevedore
- Source: http://git.openstack.org/cgit/openstack/stevedore
- Bugs: https://bugs.launchpad.net/python-stevedore