From 19cad08e9f93dc0544226989944839f536cac1ff Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Thu, 15 Dec 2005 18:11:12 +0000 Subject: Make install_egg_info track every file it installs, not just the directory it installs to. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041699 --- setuptools/command/install_egg_info.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setuptools/command/install_egg_info.py') diff --git a/setuptools/command/install_egg_info.py b/setuptools/command/install_egg_info.py index 14f9755f..0b61a11d 100755 --- a/setuptools/command/install_egg_info.py +++ b/setuptools/command/install_egg_info.py @@ -23,6 +23,7 @@ class install_egg_info(Command): ).egg_name()+'.egg-info' self.source = ei_cmd.egg_info self.target = os.path.join(self.install_dir, basename) + self.outputs = [self.target] def run(self): self.run_command('egg_info') @@ -38,9 +39,8 @@ class install_egg_info(Command): ) - def get_outputs(self): - return [self.target] # XXX list all files, not just dir? + return self.outputs def copytree(self): # Copy the .egg-info tree to site-packages @@ -52,6 +52,7 @@ class install_egg_info(Command): for skip in '.svn/','CVS/': if src.startswith(skip) or '/'+skip in src: return None + self.outputs.append(dst) log.debug("Copying %s to %s", src, dst) return dst @@ -75,7 +76,6 @@ class install_egg_info(Command): - -- cgit v1.2.1