Skip to content

Commit

Permalink
Merge pull request #353 from buildout/leorochael-moar-fetch-logging
Browse files Browse the repository at this point in the history
easy_install: moar loggin' for fetchin'
  • Loading branch information
jimfulton committed Feb 26, 2017
2 parents c1ce25c + e7803d9 commit dda4367
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/zc/buildout/easy_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,10 @@ def _fetch(self, dist, tmp, download_cache):
if (download_cache
and (realpath(os.path.dirname(dist.location)) == download_cache)
):
logger.debug("Download cache has %s at: %s", dist, dist.location)
return dist

logger.debug("Fetching %s from: %s", dist, dist.location)
new_location = self._index.download(dist.location, tmp)
if (download_cache
and (realpath(new_location) == realpath(dist.location))
Expand Down
4 changes: 4 additions & 0 deletions src/zc/buildout/easy_install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ reporting that a version was picked automatically:
Installing 'demo'.
zc.buildout.easy_install INFO
Getting distribution for 'demo'.
zc.buildout.easy_install DEBUG
Fetching demo 0.3 from: http://.../demo-0.3-pyN.N.egg
zc.buildout.easy_install INFO
Got demo 0.3.
zc.buildout.easy_install DEBUG
Expand All @@ -276,6 +278,8 @@ reporting that a version was picked automatically:
required by demo 0.3.
zc.buildout.easy_install INFO
Getting distribution for 'demoneeded'.
zc.buildout.easy_install DEBUG
Fetching demoneeded 1.1 from: http://.../demoneeded-1.1.zip
zc.buildout.easy_install DEBUG
Running easy_install:...
zc.buildout.easy_install INFO
Expand Down

0 comments on commit dda4367

Please sign in to comment.