Re: distutils, extensions, and missing headers

2007-09-20 Thread Gary Jefferson
On Sep 20, 12:08 pm, Robert Kern <[EMAIL PROTECTED]> wrote: > Gary Jefferson wrote: > > On Sep 20, 1:22 am, Robert Kern <[EMAIL PROTECTED]> wrote: > >> Use the "headers" keyword to setup() to list theheaderfiles you want > >> installed. > > > I've tried "headers=['header1.h', 'header2.h']" in se

Re: distutils, extensions, and missing headers

2007-09-20 Thread Robert Kern
Gary Jefferson wrote: > On Sep 20, 1:22 am, Robert Kern <[EMAIL PROTECTED]> wrote: >> Use the "headers" keyword to setup() to list the header files you want >> installed. > > I've tried "headers=['header1.h', 'header2.h']" in setup() as well > as in Extension(), and neither seem to get the file

Re: distutils, extensions, and missing headers

2007-09-20 Thread Gary Jefferson
Robert, thanks for the help! On Sep 20, 1:22 am, Robert Kern <[EMAIL PROTECTED]> wrote: > > Use the "headers" keyword to setup() to list the header files you want > installed. I've tried "headers=['header1.h', 'header2.h']" in setup() as well as in Extension(), and neither seem to get the fil

Re: distutils, extensions, and missing headers

2007-09-20 Thread Robert Kern
Gary Jefferson wrote: > 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 d