diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2014-12-13 15:03:48 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-12-13 15:03:48 -0500 |
commit | fec71bcbc8b0aa6bde0b0d054587bcd9c08019e9 (patch) | |
tree | 2690f6d1f022e9f0098a9002b26fb0ad0dc6eaaa /setuptools/command/egg_info.py | |
parent | 3ad4ef1f994dcacc32b1a5f77d4c119ec0ce75af (diff) | |
download | external_python_setuptools-fec71bcbc8b0aa6bde0b0d054587bcd9c08019e9.tar.gz external_python_setuptools-fec71bcbc8b0aa6bde0b0d054587bcd9c08019e9.tar.bz2 external_python_setuptools-fec71bcbc8b0aa6bde0b0d054587bcd9c08019e9.zip |
Extract variables to capture substeps.
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-x | setuptools/command/egg_info.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index e7e4cd7e..782b2777 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -345,9 +345,9 @@ class manifest_maker(sdist): (which is looking for the absolute cmd.egg_info) will match them. """ - self.filelist.allfiles.extend( - os.path.join(cmd.egg_base, path) - for path in distutils.filelist.findall(cmd.egg_base)) + discovered = distutils.filelist.findall(cmd.egg_base) + resolved = (os.path.join(cmd.egg_base, path) for path in discovered) + self.filelist.allfiles.extend(resolved) def prune_file_list(self): build = self.get_finalized_command('build') |