[Pyrex] New Distutils implementation for Pyrex.

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Aug 12 04:05:04 CEST 2007


Stefan Behnel wrote:
> Hi Greg,
> 
> Greg Ewing wrote:
> 
>>If you're talking about putting a different value
>>in the language option to distinquish between
>>an instruction to Pyrex and an instruction about
>>the rest of the .c files
> 
> No I'm not. In all three cases, I'm talking about putting either "c" or "c++"
> into that option, depending on what you want the C compiler to take as input.

But that's not sufficient, because you might want
Pyrex to produce a c++ file, but have other .c files
in the same extension that you *don't* want treated
as c++.

Distutils already has a problem here, because you
really want the language option to be specifiable for
each file individually, whereas you only get one for
the whole extension. But there's no sense in making
the situation worse by unnecessarily conflating
different things.

--
Greg



More information about the Pyrex mailing list