![](https://secure.gravatar.com/avatar/ba60bd7f6a9951983ae90cfa4f1283eb.jpg?s=120&d=mm&r=g)
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 BTW: 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 template and all files that form filelist's base list through normpath() or even better for Windows normcase().)