diff options
author | Greg Ward <gward@python.net> | 2000-08-07 00:48:04 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-08-07 00:48:04 (GMT) |
commit | 1b024d37a7e56279db00c7d775397f19927736a9 (patch) | |
tree | 16869c4dd317d4a0a9f0c064a50bf6fbbb3a6b64 /Lib/distutils/command | |
parent | 0fd2dd6db0a279546747a43c777522b266e7734d (diff) | |
download | cpython-1b024d37a7e56279db00c7d775397f19927736a9.zip cpython-1b024d37a7e56279db00c7d775397f19927736a9.tar.gz cpython-1b024d37a7e56279db00c7d775397f19927736a9.tar.bz2 |
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!).
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r-- | Lib/distutils/command/install.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 6385fdc..2a59e16 100644 --- a/Lib/distutils/command/install.py +++ b/Lib/distutils/command/install.py @@ -273,7 +273,7 @@ class install (Command): # If a new root directory was supplied, make all the installation # dirs relative to it. if self.root is not None: - for name in ('lib', 'purelib', 'platlib', + for name in ('libbase', 'lib', 'purelib', 'platlib', 'scripts', 'data', 'headers'): attr = "install_" + name new_val = change_root (self.root, getattr (self, attr)) |