Commit 82f063f0 authored by PJ Eby's avatar PJ Eby

Fixed ``.pth`` file processing picking up nested eggs (i.e. ones inside

"baskets") when they weren't explicitly listed in the ``.pth`` file.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041477
parent b73cc53b
...@@ -865,6 +865,11 @@ Known Issues ...@@ -865,6 +865,11 @@ Known Issues
* There's no automatic retry for borked Sourceforge mirrors, which can easily * There's no automatic retry for borked Sourceforge mirrors, which can easily
time out or be missing a file. time out or be missing a file.
0.6a9
* Fixed ``.pth`` file processing picking up nested eggs (i.e. ones inside
"baskets") when they weren't explicitly listed in the ``.pth`` file.
0.6a8 0.6a8
* Update for changed SourceForge mirror format * Update for changed SourceForge mirror format
......
...@@ -1112,9 +1112,9 @@ class PthDistributions(Environment): ...@@ -1112,9 +1112,9 @@ class PthDistributions(Environment):
def __init__(self, filename): def __init__(self, filename):
self.filename = filename; self._load() self.filename = filename; self._load()
Environment.__init__( Environment.__init__(self, [], None, None)
self, list(yield_lines(self.paths)), None, None for path in yield_lines(self.paths):
) map(self.add, find_distributions(path, True))
def _load(self): def _load(self):
self.paths = [] self.paths = []
......
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