aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/backends/__init__.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-01-08 13:23:39 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2015-01-08 13:23:39 -0800
commitd334e2f4c7507bb01369e5fc834163aabf1d46d6 (patch)
treef0d9b4f3249e3c8f8b4263eed6e3d1973e01f812 /src/cryptography/hazmat/backends/__init__.py
parente6fc94d63e650debd759280565b9a7edea2818ff (diff)
downloadcryptography-d334e2f4c7507bb01369e5fc834163aabf1d46d6.tar.gz
cryptography-d334e2f4c7507bb01369e5fc834163aabf1d46d6.tar.bz2
cryptography-d334e2f4c7507bb01369e5fc834163aabf1d46d6.zip
Added a comment
Diffstat (limited to 'src/cryptography/hazmat/backends/__init__.py')
-rw-r--r--src/cryptography/hazmat/backends/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/backends/__init__.py b/src/cryptography/hazmat/backends/__init__.py
index 2098aeb2..d8438248 100644
--- a/src/cryptography/hazmat/backends/__init__.py
+++ b/src/cryptography/hazmat/backends/__init__.py
@@ -17,6 +17,11 @@ def _available_backends():
if _available_backends_list is None:
_available_backends_list = [
+ # setuptools 11.3 deprecated support for the require parameter to
+ # load(), and introduced the new resolve() method instead.
+ # This can be removed if/when we can assume setuptools>=11.3. At
+ # some point we may wish to add a warning, to push people along, but
+ # at present this would result it too many warnings.
ep.resolve() if hasattr(ep, "resolve") else ep.load(require=False)
for ep in pkg_resources.iter_entry_points(
"cryptography.backends"