Phillip J. Eby wrote:
> At 11:27 PM 9/13/2005 -0700, Robert Kern wrote:
>
>
>>Index: setuptools/command/easy_install.py
>>=================================================================== RCS
>>file:
>>/cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command/easy_install.py,v
>>
>>retrieving revision 1.28 diff -u -r1.28 easy_install.py ---
>>setuptools/command/easy_install.py 3 Sep 2005 04:50:05 -0000 1.28
>>+++ setuptools/command/easy_install.py 14 Sep 2005 06:17:28 -0000 @@
>>-141,6 +141,10 @@ self.set_undefined_options('install',
>>('record', 'record')) normpath = map(normalize_path,
>>sys.path) self.all_site_dirs = get_site_dirs()
>>+ install_cmd = self.distribution.get_command_obj('install')
>>+ if install_cmd.prefix is not None:
>>+
>>self.all_site_dirs.append(normalize_path(install_cmd.install_lib))
>>+ if self.site_dirs is not None: site_dirs =
>>[ os.path.expanduser(s.strip()) for s in
>>self.site_dirs.split(','_______________________________________________
>>Distutils-SIG maillist - [email protected]
>>http://mail.python.org/mailman/listinfo/distutils-sig
>
> Your patch came through horribly mangled, as you can see. You probably
> need to make it an attachment rather than pasting it into your email.
Odd. It *was* sent as an attachment. Thunderbird on OS X sees it fine
through GMane. Maybe GMane mangled it somewhere along the line. Or
perhaps line-endings are getting confused. I'm cc'ing this to you with
an attached patch that uses CRLF line endings.
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
Index: setuptools/command/easy_install.py
===================================================================
RCS file:
/cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command/easy_install.py,v
retrieving revision 1.28
diff -u -r1.28 easy_install.py
--- setuptools/command/easy_install.py 3 Sep 2005 04:50:05 -0000 1.28
+++ setuptools/command/easy_install.py 14 Sep 2005 06:17:28 -0000
@@ -141,6 +141,10 @@
self.set_undefined_options('install', ('record', 'record'))
normpath = map(normalize_path, sys.path)
self.all_site_dirs = get_site_dirs()
+ install_cmd = self.distribution.get_command_obj('install')
+ if install_cmd.prefix is not None:
+ self.all_site_dirs.append(normalize_path(install_cmd.install_lib))
+
if self.site_dirs is not None:
site_dirs = [
os.path.expanduser(s.strip()) for s in
self.site_dirs.split(',')
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig