[Distutils] C extension modules

Tarek Ziadé ziade.tarek at gmail.com
Wed Jan 27 12:00:10 CET 2010

On Wed, Jan 27, 2010 at 11:06 AM, David Cournapeau <cournape at gmail.com> wrote:
> I avoid CCompiler functions like the plague in numpy.distutils extensions,
> because their behavior is very platform specific, especially between
> MS compiler and Unix ones, where the attributes are not the same).

I am not an expert at all in compiling C/C++ for Python, but it seems
that using 'define_macros' works for what was asked.

So how do you do it in numpy.distutils and why/how is it better or simpler?


More information about the Distutils-SIG mailing list