2013-08-28 02:26:06 +04:00
|
|
|
--- a/src/zc/buildout/easy_install.py 2013-08-27 22:28:40.233718116 +0200
|
2013-10-08 03:51:24 +04:00
|
|
|
+++ b/src/zc/buildout/easy_install.py 2013-10-07 00:29:31.077413935 +0200
|
2015-07-22 11:37:14 +03:00
|
|
|
@@ -227,6 +227,12 @@
|
|
|
|
|
|
|
|
def _satisfied(self, req, source=None):
|
|
|
|
dists = [dist for dist in self._env[req.project_name] if dist in req]
|
|
|
|
+ try:
|
|
|
|
+ dists = ([dist for dist in dists
|
|
|
|
+ if dist.precedence == pkg_resources.DEVELOP_DIST]
|
|
|
|
+ + [pkg_resources.get_distribution(req.project_name)])
|
|
|
|
+ except pkg_resources.DistributionNotFound:
|
|
|
|
+ pass
|
|
|
|
if not dists:
|
|
|
|
logger.debug('We have no distributions for %s that satisfies %r.',
|
|
|
|
req.project_name, str(req))
|