summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-08-07 00:48:04 (GMT)
committerGreg Ward <gward@python.net>2000-08-07 00:48:04 (GMT)
commit1b024d37a7e56279db00c7d775397f19927736a9 (patch)
tree16869c4dd317d4a0a9f0c064a50bf6fbbb3a6b64 /Lib/distutils/command
parent0fd2dd6db0a279546747a43c777522b266e7734d (diff)
downloadcpython-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.py2
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))