6810N/AThis in-house patch updates paste.deploy to avoid the use of
6810N/Asetuptools's EntryPoint's load() method from setuptools if possible, as
6810N/Ait was deprecated starting with setuptools version 11.3. This patch can
6810N/Abe submitted upstream and is tracked externally via the following
6810N/Aissue:
6810N/A
6810N/A https://bitbucket.org/ianb/pastedeploy/issues/20/loadwsgi-should-account-for-entrypointload
6810N/A
6810N/A--- PasteDeploy-1.5.2/paste/deploy/loadwsgi.py.~1~ 2013-05-25 13:12:05.000000000 -0700
6810N/A+++ PasteDeploy-1.5.2/paste/deploy/loadwsgi.py 2016-07-30 14:43:24.375365610 -0700
6810N/A@@ -19,7 +19,8 @@ __all__ = ['loadapp', 'loadserver', 'loa
6810N/A
6810N/A
6810N/A def import_string(s):
6810N/A- return pkg_resources.EntryPoint.parse("x=" + s).load(False)
6810N/A+ ep = pkg_resources.EntryPoint.parse("x=" + s)
6810N/A+ return getattr(ep, "resolve", lambda: ep.load(require=False))()
6810N/A
6810N/A
6810N/A def _aslist(obj):