Commit 4478cdc2 authored by PJ Eby's avatar PJ Eby

Backport to 0.6

--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4076123
parent 03cee8b5
......@@ -1221,6 +1221,9 @@ Release Notes/Change History
* Fixed AttributeError under Python 2.3 when processing "HTTP authentication"
URLs (i.e., ones with a ``user:password@host``).
* Fixed bogus AttributeError when no local or downloadable packages are
available
0.6c11
* Fix installed script .exe files not working with 64-bit Python on Windows
(wasn't actually released in 0.6c10 due to a lost checkin)
......
......@@ -471,8 +471,9 @@ class PackageIndex(Environment):
(source and "a source distribution of " or ""),
requirement,
)
self.info("Best match: %s", dist)
return dist.clone(location=self.download(dist.location, tmpdir))
else:
self.info("Best match: %s", dist)
return dist.clone(location=self.download(dist.location, tmpdir))
def fetch(self, requirement, tmpdir, force_scan=False, source=False):
......@@ -489,7 +490,6 @@ class PackageIndex(Environment):
return None
def gen_setup(self, filename, fragment, tmpdir):
match = EGG_FRAGMENT.match(fragment)
dists = match and [d for d in
......
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