diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-12-02 16:41:16 +0000 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-12-02 16:41:16 +0000 |
commit | cfd19763acd310873d21427aefda61034170438f (patch) | |
tree | b6658f20f63061266aaa32b29f2215f2861a1f10 | |
parent | 609672e82308cd4ed54ec8066afb9d933c66049c (diff) | |
download | import-cfd19763acd310873d21427aefda61034170438f.tar.gz |
Improve error msg in find runtime deps
-rwxr-xr-x | exts/pip.find_deps | 3 |
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)) |