aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-09-03 04:50:05 +0000
committerPJ Eby <distutils-sig@python.org>2005-09-03 04:50:05 +0000
commit66e825818b0c13c0ef28008df1dd6fa0477b2bb5 (patch)
treea016574270bebeb7474b9df6ce2feb958d5cfd0b /setuptools
parentb78e9f559ebb39143151179e78325a84c51d7988 (diff)
downloadexternal_python_setuptools-66e825818b0c13c0ef28008df1dd6fa0477b2bb5.tar.gz
external_python_setuptools-66e825818b0c13c0ef28008df1dd6fa0477b2bb5.tar.bz2
external_python_setuptools-66e825818b0c13c0ef28008df1dd6fa0477b2bb5.zip
Ensure wrapper scripts are included in output file record; this is
especially important for RPMs with scripts. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041237
Diffstat (limited to 'setuptools')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 75aca8f9..23e80343 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -479,7 +479,7 @@ class easy_install(Command):
"import pkg_resources\n"
"pkg_resources.run_script(%(spec)r, %(script_name)r)\n"
) % locals()
-
+ self.add_output(target)
if not self.dry_run:
ensure_directory(target)
f = open(target,"w")