summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-12-02 16:41:16 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-12-02 16:41:16 +0000
commitcfd19763acd310873d21427aefda61034170438f (patch)
treeb6658f20f63061266aaa32b29f2215f2861a1f10
parent609672e82308cd4ed54ec8066afb9d933c66049c (diff)
downloadimport-cfd19763acd310873d21427aefda61034170438f.tar.gz
Improve error msg in find runtime deps
-rwxr-xr-xexts/pip.find_deps3
1 files changed, 2 insertions, 1 deletions
diff --git a/exts/pip.find_deps b/exts/pip.find_deps
index bc0317b..17f65b2 100755
--- a/exts/pip.find_deps
+++ b/exts/pip.find_deps
@@ -265,7 +265,8 @@ def find_runtime_deps(source, name, version=None):
logging.debug('pip exited with code: %d' % p.returncode)
if p.returncode != 0:
- error('failed to get runtime dependencies')
+ error('failed to get runtime dependencies for %s %s at %s'
+ % (name, version, source))
with os.fdopen(tmpfd) as tmpfile:
ss = resolve_specs(pkg_resources.parse_requirements(tmpfile))