diff options
Diffstat (limited to 'setuptools/command')
| -rwxr-xr-x | setuptools/command/easy_install.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 1d0f1188..47862831 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1112,9 +1112,9 @@ class PthDistributions(Environment): def __init__(self, filename): self.filename = filename; self._load() - Environment.__init__( - self, list(yield_lines(self.paths)), None, None - ) + Environment.__init__(self, [], None, None) + for path in yield_lines(self.paths): + map(self.add, find_distributions(path, True)) def _load(self): self.paths = [] |
