mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Rene Liebscher: when fixing up directories with an alternate root, include
'install_headers'.
This commit is contained in:
parent
59ac7091a7
commit
e2383a6c77
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue