[Distutils] distutils 1.0.1 - bdist_rpm- MANIFEST.in recursive-includebroken?

Rene Liebscher R.Liebscher@gmx.de
Thu Nov 16 03:54:01 2000

Joe Van Andel wrote:
> Bastian Kleineidam wrote:
> > You can try "recursive-include . *.py". I think the second param must
> > be a directory name.
> I just tried your suggestion, and the include files (*.h) still aren't
> added to the MANIFEST, so the compilations fail.
Using a dot as directory might not yield the results you think.
filelist.py works string-based, and files in the current directory
are stored in its internal list as "xxxx.h". So it can't find a prefix
'.' anywhere.

Instead "recursive-include . *.h" you should use "global-include *.h".

kind regards
Rene Liebscher

It might be a good idea to debug MANIFEST.in files line by line.
(You can create the MANIFEST file with "python setup.py sdist -o".)

(Greg: Either we document that MANIFEST.in doesn't accept any relative
paths (containing '.' or '..') or we send all files/dirs from the
and all files that form filelist's base list through normpath() or even
better for Windows normcase().)