On Wed, Jan 27, 2010 at 11:06 AM, David Cournapeau <[email protected]> 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? Regards, Tarek _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
