summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-06-21 03:09:02 (GMT)
committerGreg Ward <gward@python.net>2000-06-21 03:09:02 (GMT)
commite2383a6c774e41357824db4ea1db0b06182fe672 (patch)
treed37b2ed394189e53622c3cd7d29780757ed6254c /Lib/distutils/command/install.py
parent59ac7091a7355233852a7cd34e0e0297d1eac3ea (diff)
downloadcpython-e2383a6c774e41357824db4ea1db0b06182fe672.zip
cpython-e2383a6c774e41357824db4ea1db0b06182fe672.tar.gz
cpython-e2383a6c774e41357824db4ea1db0b06182fe672.tar.bz2
Rene Liebscher: when fixing up directories with an alternate root, include
'install_headers'.
Diffstat (limited to 'Lib/distutils/command/install.py')
-rw-r--r--Lib/distutils/command/install.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py
index 21d971b..5e8ade8 100644
--- a/Lib/distutils/command/install.py
+++ b/Lib/distutils/command/install.py
@@ -272,7 +272,8 @@ 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', 'scripts', 'data'):
+ for name in ('lib', 'purelib', 'platlib',
+ 'scripts', 'data', 'headers'):
attr = "install_" + name
new_val = change_root (self.root, getattr (self, attr))
setattr (self, attr, new_val)