Commit 66e82581 authored by PJ Eby's avatar PJ Eby

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
parent b78e9f55
...@@ -479,7 +479,7 @@ class easy_install(Command): ...@@ -479,7 +479,7 @@ class easy_install(Command):
"import pkg_resources\n" "import pkg_resources\n"
"pkg_resources.run_script(%(spec)r, %(script_name)r)\n" "pkg_resources.run_script(%(spec)r, %(script_name)r)\n"
) % locals() ) % locals()
self.add_output(target)
if not self.dry_run: if not self.dry_run:
ensure_directory(target) ensure_directory(target)
f = open(target,"w") f = open(target,"w")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment