diff options
author | Pradyun S. Gedam <pradyunsg@users.noreply.github.com> | 2017-06-27 02:15:47 +0530 |
---|---|---|
committer | Paul Moore <p.f.moore@gmail.com> | 2017-06-26 21:45:47 +0100 |
commit | 21be153044a7aa245e12ce3f86793e9b17201519 (patch) | |
tree | dc4dd2bb4ff625bfddc6c5ede118da98c0f074a3 /pip/resolve.py | |
parent | c92cbe7aba54564141d0f4b26a44fa840fbf14a0 (diff) | |
download | pip-21be153044a7aa245e12ce3f86793e9b17201519.tar.gz |
Display where pip is looking for packages (#4483)
Display where PackageFinder is looking for packages
Diffstat (limited to 'pip/resolve.py')
-rw-r--r-- | pip/resolve.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pip/resolve.py b/pip/resolve.py index 517d7b160..e0f8c17c8 100644 --- a/pip/resolve.py +++ b/pip/resolve.py @@ -154,6 +154,11 @@ class Resolver(object): any(req.has_hash_options for req in root_reqs) ) + # Display where finder is looking for packages + locations = self.finder.get_formatted_locations() + if locations: + logger.info(locations) + # Actually prepare the files, and collect any exceptions. Most hash # exceptions cannot be checked ahead of time, because # req.populate_link() needs to be called before we can make decisions |