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

noreply@sourceforge.net noreply@sourceforge.net
Tue, 04 Sep 2001 13:21: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: A.M. Kuchling (akuchling)
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)):


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

>Comment By: Jon Nelson (jnelson)
Date: 2001-09-04 13:21

Message:
Logged In: YES 
user_id=8446

Yes!  This appears to work, and is, in fact, cleaner!

Whoohoo!

Now please fix 444589 (also with patch).

Yes!


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

Comment By: A.M. Kuchling (akuchling)
Date: 2001-09-04 13:07

Message:
Logged In: YES 
user_id=11375

I've modified your patch to change get_outputs() instead, 
and checked it in as revision 1.59 of commands/install.py.
Can you please check that it still works, and that it 
fixes the problem?



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

Comment By: Jon Nelson (jnelson)
Date: 2001-07-25 13:35

Message:
Logged In: YES 
user_id=8446

Is anything going to be done about this?
It's really quite necessary.

Thanks!


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

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