Issue 27123: Allow install_headers command to follow specific directory structure (original) (raw)

(instead of making a flat copy of the specified list of headers)

Unlike wheel's data_files, which allows to specify data files as a list of tuples

[(target_directory, [list of files for target directory])]

the headers setup keyword argument only let's you specify a list of files that will be copied over to a sub-directory of sysconfig.get_path('include').

It would be useful to enable the same feature for headers as we have for data files.

Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils.

If this issue does not relate to distutils, please remove the component and reopen it. If you believe it still requires a fix, most likely the issue should be re-reported at https://github.com/pypa/setuptools