distutils, extensions, and missing headers

Gary Jefferson garyjefferson123 at yahoo.com
Thu Sep 20 08:08:55 CEST 2007


My setup.py (with extension) seems to work great for build and
install, but for bdist_rpm, compilation of the extension fails because
some of the headers needed to build the extension aren't in the bdist
tarball.

I've tried adding a 'depends=[]' to the Extension definition with
these header files present, but they still don't get put in the
tarball.

What's the key to getting headers or other [non-python] files included
in a bdist?

Thanks,
Gary




More information about the Python-list mailing list