[Python-checkins] CVS: distutils/distutils/command install.py,1.40,1.41

Greg Ward python-dev@python.org
Sun, 6 Aug 2000 17:48:06 -0700


Update of /cvsroot/python/distutils/distutils/command
In directory slayer.i.sourceforge.net:/tmp/cvs-serv14074

Modified Files:
	install.py 
Log Message:
Fix so the 'install_libbase' directory -- where .pth files are installed -- 
participates in the "--root" hack, ie. it also has a new root directory
hacked on at the very last minute (essential if the .pth file is to be
included in an RPM or other smart installer!).

Index: install.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/install.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -r1.40 -r1.41
*** install.py	2000/08/05 01:31:54	1.40
--- install.py	2000/08/07 00:48:04	1.41
***************
*** 274,278 ****
          # dirs relative to it.
          if self.root is not None:
!             for name in ('lib', 'purelib', 'platlib',
                           'scripts', 'data', 'headers'):
                  attr = "install_" + name
--- 274,278 ----
          # dirs relative to it.
          if self.root is not None:
!             for name in ('libbase', 'lib', 'purelib', 'platlib',
                           'scripts', 'data', 'headers'):
                  attr = "install_" + name