[Cython] Fwd: Question about how best require compiler options for C sources

Jeroen Demeyer jdemeyer at cage.ugent.be
Tue Apr 12 04:27:38 EDT 2016


On 2016-04-12 10:16, Erik Bray wrote:
> That said, I
> think it makes more sense for cythonize() to read the distutils
> options from the C source instead of the Cython source, though in
> practice I don't know if it's a worthwhile change or not.

I don't quite get what you mean. The C file is only read by distutils 
(which compiles the .c files to .so), not by Cython (which compiles the 
.pyx files to .c).


More information about the cython-devel mailing list