[Distutils] Installing header files with setuptools

James Porter jvporter at wisc.edu
Wed Mar 3 05:30:38 CET 2010

Perhaps this is a bug or perhaps I'm just doing it wrong, but I can't 
figure out a good way to install C header files as part of a setuptools 

With distutils, there's a "headers" argument to setup() that installs 
the header files in their proper spot, but setuptools ignores this. It 
looks like setuptools is hijacking the install command and manually 
running install_lib, install_data, etc, but never install_headers.

Does setuptools expect me to do this in a different way, or is this 
something that should be fixed?

- Jim

More information about the Distutils-SIG mailing list