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!).
This commit is contained in:
Greg Ward 2000-08-07 00:48:04 +00:00
parent 0fd2dd6db0
commit 1b024d37a7
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class install (Command):
# If a new root directory was supplied, make all the installation # If a new root directory was supplied, make all the installation
# dirs relative to it. # dirs relative to it.
if self.root is not None: if self.root is not None:
for name in ('lib', 'purelib', 'platlib', for name in ('libbase', 'lib', 'purelib', 'platlib',
'scripts', 'data', 'headers'): 'scripts', 'data', 'headers'):
attr = "install_" + name attr = "install_" + name
new_val = change_root (self.root, getattr (self, attr)) new_val = change_root (self.root, getattr (self, attr))