]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Rene Liebscher: when fixing up directories with an alternate root, include
authorGreg Ward <gward@python.net>
Wed, 21 Jun 2000 03:09:02 +0000 (03:09 +0000)
committerGreg Ward <gward@python.net>
Wed, 21 Jun 2000 03:09:02 +0000 (03:09 +0000)
'install_headers'.

Lib/distutils/command/install.py

index 21d971b8d34645dc550b955faa10e8e7d67739ea..5e8ade8d80c2a3df5880e1b55d4e9dd47935605d 100644 (file)
@@ -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)