Commit dda4367a authored by Jim Fulton's avatar Jim Fulton Committed by GitHub

Merge pull request #353 from buildout/leorochael-moar-fetch-logging

easy_install: moar loggin' for fetchin'
parents c1ce25ce e7803d9d
...@@ -466,8 +466,10 @@ class Installer: ...@@ -466,8 +466,10 @@ class Installer:
if (download_cache if (download_cache
and (realpath(os.path.dirname(dist.location)) == download_cache) and (realpath(os.path.dirname(dist.location)) == download_cache)
): ):
logger.debug("Download cache has %s at: %s", dist, dist.location)
return dist return dist
logger.debug("Fetching %s from: %s", dist, dist.location)
new_location = self._index.download(dist.location, tmp) new_location = self._index.download(dist.location, tmp)
if (download_cache if (download_cache
and (realpath(new_location) == realpath(dist.location)) and (realpath(new_location) == realpath(dist.location))
......
...@@ -266,6 +266,8 @@ reporting that a version was picked automatically: ...@@ -266,6 +266,8 @@ reporting that a version was picked automatically:
Installing 'demo'. Installing 'demo'.
zc.buildout.easy_install INFO zc.buildout.easy_install INFO
Getting distribution for 'demo'. 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 zc.buildout.easy_install INFO
Got demo 0.3. Got demo 0.3.
zc.buildout.easy_install DEBUG zc.buildout.easy_install DEBUG
...@@ -276,6 +278,8 @@ reporting that a version was picked automatically: ...@@ -276,6 +278,8 @@ reporting that a version was picked automatically:
required by demo 0.3. required by demo 0.3.
zc.buildout.easy_install INFO zc.buildout.easy_install INFO
Getting distribution for 'demoneeded'. Getting distribution for 'demoneeded'.
zc.buildout.easy_install DEBUG
Fetching demoneeded 1.1 from: http://.../demoneeded-1.1.zip
zc.buildout.easy_install DEBUG zc.buildout.easy_install DEBUG
Running easy_install:... Running easy_install:...
zc.buildout.easy_install INFO zc.buildout.easy_install INFO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment