aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install_egg_info.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-12-15 18:11:12 +0000
committerPJ Eby <distutils-sig@python.org>2005-12-15 18:11:12 +0000
commit19cad08e9f93dc0544226989944839f536cac1ff (patch)
tree0ce856d309c7f761d9f463f262af1557a2c6e0e1 /setuptools/command/install_egg_info.py
parent1c1bfde05a7c1729de8ea72a23f29cd9dfaa1016 (diff)
downloadexternal_python_setuptools-19cad08e9f93dc0544226989944839f536cac1ff.tar.gz
external_python_setuptools-19cad08e9f93dc0544226989944839f536cac1ff.tar.bz2
external_python_setuptools-19cad08e9f93dc0544226989944839f536cac1ff.zip
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
Diffstat (limited to 'setuptools/command/install_egg_info.py')
-rwxr-xr-xsetuptools/command/install_egg_info.py6
1 files changed, 3 insertions, 3 deletions
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
@@ -79,4 +80,3 @@ class install_egg_info(Command):
-