summaryrefslogtreecommitdiff
path: root/baserockimport/package.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-07-11 18:13:41 +0100
committerBaserock Gerrit <gerrit@baserock.org>2015-07-13 09:09:32 +0000
commitc0198a43aace41e8ce35e63c21a4cb3b8138f91f (patch)
tree85623e03dbbc8934bc7e669943f5a79ddcb06602 /baserockimport/package.py
parentd47cfbebbd761d23e99c52053545b3e9bb4a38b2 (diff)
downloadimport-c0198a43aace41e8ce35e63c21a4cb3b8138f91f.tar.gz
python.find_deps: On failure, show stdout and stderr output from Pip
It's nice to have some idea right away of what went wrong. A common error is running the import tool on a system without the patched version of Pip. This now produces the following sort of message: baserockimport/exts/python.find_deps: Failed to get runtime dependencies for numpy at checkouts/python_numpy-tarball/. Output from Pip: Usage: pip install [options] <requirement specifier> [package-index-options] ... pip install [options] -r <requirements file> [package-index-options] ... pip install [options] [-e] <vcs project url> ... pip install [options] [-e] <local project path> ... pip install [options] <archive url/path> ... no such option: --list-dependencies Change-Id: I902920b46b29b1e2b18736b2ff2b5f4f4cdb42df
Diffstat (limited to 'baserockimport/package.py')
0 files changed, 0 insertions, 0 deletions