summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-09-04 20:06:43 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-09-04 20:06:43 (GMT)
commita8ea5ba8a9c2e0674a22fd1629f8fee0cf4cb282 (patch)
tree3378234a42f76a8ea674edf76bfb749080cf083a /Lib
parent0dad0f763cfad1d387db91053f50f289732e0011 (diff)
downloadcpython-a8ea5ba8a9c2e0674a22fd1629f8fee0cf4cb282.zip
cpython-a8ea5ba8a9c2e0674a22fd1629f8fee0cf4cb282.tar.gz
cpython-a8ea5ba8a9c2e0674a22fd1629f8fee0cf4cb282.tar.bz2
[Bug #436732] install.py does not record a created *.pth file in the
INSTALLED_FILES output. Modified version of a patch from Jon Nelson (jnelson)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/command/install.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 5af4cf1..022e34a 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -537,8 +537,7 @@ class install (Command):
# -- Reporting methods ---------------------------------------------
def get_outputs (self):
- # This command doesn't have any outputs of its own, so just
- # get the outputs of all its sub-commands.
+ # Assemble the outputs of all the sub-commands.
outputs = []
for cmd_name in self.get_sub_commands():
cmd = self.get_finalized_command(cmd_name)
@@ -548,6 +547,10 @@ class install (Command):
if filename not in outputs:
outputs.append(filename)
+ if self.path_file and self.install_path_file:
+ outputs.append(os.path.join(self.install_libbase,
+ self.path_file + ".pth"))
+
return outputs
def get_inputs (self):