[Distutils] Header installation

Andrew Kuchling akuchlin@mems-exchange.org
Wed Mar 28 14:02:01 2001


On Wed, Mar 28, 2001 at 06:33:57PM +0200, Konrad Hinsen wrote:
>NumPy does, they end up in $prefix/pythonx.y/ScientificPython. The
>only way I found to change the header installation directory is by
>specifying an option during installation, but I want this defined
>in setup.py. Any suggestions?

Putting this in a setup.cfg file should do it:

[install_headers]
install_dir=/wherever

I don't think you can define anything in the setup() call to set the
directory.

--amk