diff options
| -rwxr-xr-x | setuptools/command/egg_info.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index bb832ea6..a2f4d444 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -212,6 +212,9 @@ class FileList(_FileList): if self._safe_path(path): self.files.append(path) + def extend(self, paths): + self.files.extend(filter(self._safe_path, paths)) + def _safe_path(self, path): if not PY3: return os.path.exists(path) |
