summaryrefslogtreecommitdiff
path: root/Lib/distutils/command/install.py
diff options
context:
space:
mode:
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 21d971b8d3..5e8ade8d80 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)