distutils - packaging .h files with "sdist"

Graham Ashton graham at effectif.idps.co.uk
Thu Jan 10 11:34:31 CET 2002


I suspect I'm being thick here, but I can't get distutils to include my
extension's .h file in source distributions (created with "python setup.py
sdist"). I've been through the distutils docs for extension modules and
didn't see anything about how to add a .h file.

I thought I could use the data_files option, but then I realised that this
would copy .h around in the binary distribution too.

Is there a "correct" way to do it?

--
Graham Ashton <graham at effectif.idps.co.uk>



More information about the Python-list mailing list