From: Greg Ward Date: Wed, 21 Jun 2000 03:09:02 +0000 (+0000) Subject: Rene Liebscher: when fixing up directories with an alternate root, include X-Git-Tag: v2.0b1~1451 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e2383a6c774e41357824db4ea1db0b06182fe672;p=thirdparty%2FPython%2Fcpython.git Rene Liebscher: when fixing up directories with an alternate root, include 'install_headers'. --- diff --git a/Lib/distutils/command/install.py b/Lib/distutils/command/install.py index 21d971b8d346..5e8ade8d80c2 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)