Distutils vs. Extension header files

Mike Meyer mwm at mired.org
Fri Dec 10 20:23:24 EST 2004


cookedm+news at physics.mcmaster.ca (David M. Cooke) writes:

> vincent has the solution (you need to specify them in MANIFEST.in),
> but I'll add my 2 cents.

Yup. That solved the problem.

> depends = [...] is used in building (it's like dependencies in make).
> If one of those files change, distutils will rebuild the extension.
> But that's all distutils does with it. It's braindead including stuff
> in the source distribution, including depends, data files, and other
> stuff you'd think it would do. When in doubt, add it to MANIFEST.in.

That pretty much sucks. I've filed a bug report (1083299) about it. If
I find time, I'll look into a fixing it myself.

  <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list