[Python-bugs-list] [ python-Bugs-436732 ] install.py does not record path file

noreply@sourceforge.net noreply@sourceforge.net
Tue, 03 Jul 2001 23:01:54 -0700


Bugs item #436732, was opened at 2001-06-27 07:03
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=436732&group_id=5470

Category: Distutils
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jon Nelson (jnelson)
>Assigned to: Greg Ward (gward)
Summary: install.py does not record path file

Initial Comment:
install.py does not record in INSTALLED_FILES when
it creates the .pth file which is created when
extra_path is used.

Included is a patch:

--- install.py.orig     Wed Jun 27 08:55:39 2001
+++ install.py  Wed Jun 27 08:56:30 2001
@@ -489,6 +489,9 @@
         # write list of installed files, if requested.
         if self.record:
             outputs = self.get_outputs()
+            if self.path_file and
self.install_path_file:
+               
outputs.append(os.path.join(self.install_libbase,
+                                           
self.path_file + ".pth"))
             if self.root:               # strip any
package prefix
                 root_len = len(self.root)
                 for counter in xrange(len(outputs)):


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=436732&group_id=5470