[Distutils] question about setuptools

Phillip J. Eby pje at telecommunity.com
Wed Sep 14 19:02:49 CEST 2005


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  -  Distutils-SIG at python.org
>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.



More information about the Distutils-SIG mailing list