setup.py and file extensions like ".c++"

garyjefferson123 at yahoo.com garyjefferson123 at yahoo.com
Thu Aug 24 21:31:39 EDT 2006


Is there any way to get setup.py to recognize file extensions like .c++
in lieu of .cpp?  I'd love to not have to rename the source files for
the library I'm trying to wrap in a python C extension.

I get:

error: unknown file type '.c++' (from 'parser.c++')

when I type 'python setup.py build'

thanks,
Gary




More information about the Python-list mailing list