From fec71bcbc8b0aa6bde0b0d054587bcd9c08019e9 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 13 Dec 2014 15:03:48 -0500 Subject: Extract variables to capture substeps. --- setuptools/command/egg_info.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setuptools/command/egg_info.py') 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') -- cgit v1.2.1