mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
[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)
This commit is contained in:
parent
0dad0f763c
commit
a8ea5ba8a9
1 changed files with 5 additions and 2 deletions
|
|
@ -537,8 +537,7 @@ class install (Command):
|
||||||
# -- Reporting methods ---------------------------------------------
|
# -- Reporting methods ---------------------------------------------
|
||||||
|
|
||||||
def get_outputs (self):
|
def get_outputs (self):
|
||||||
# This command doesn't have any outputs of its own, so just
|
# Assemble the outputs of all the sub-commands.
|
||||||
# get the outputs of all its sub-commands.
|
|
||||||
outputs = []
|
outputs = []
|
||||||
for cmd_name in self.get_sub_commands():
|
for cmd_name in self.get_sub_commands():
|
||||||
cmd = self.get_finalized_command(cmd_name)
|
cmd = self.get_finalized_command(cmd_name)
|
||||||
|
|
@ -548,6 +547,10 @@ class install (Command):
|
||||||
if filename not in outputs:
|
if filename not in outputs:
|
||||||
outputs.append(filename)
|
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
|
return outputs
|
||||||
|
|
||||||
def get_inputs (self):
|
def get_inputs (self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue