[Distutils] sdist's default file list looks incomplete

A.M. Kuchling amk at asti-usa.com
Thu Aug 28 12:04:38 EDT 2003


On Thu, Aug 28, 2003 at 10:24:29AM -0400, Stefan Seefeld wrote:
> the distribution has a 'headers' attribute that
> is used in 'install_headers'. Where is that attribute
> set from ? In the current design I would expect 'Extension'
> to set them, but they don't contain them...

It would be set by the call to setup():

setup(..., headers=["NumPy.h"], ...)

The code that does it would be at the end of the Distribution.__init__
method (around line 230 or so of dist.py).

--amk





More information about the Distutils-SIG mailing list