On 2010-02-22 21:46 PM, Nathaniel Smith wrote: > On Mon, Feb 22, 2010 at 4:21 PM, Robert Kern<[email protected]> wrote: >> Other parts of numpy.distutils handle that. Unfortunately, those are the >> parts >> that conflict with Cython's distutils extensions. Just use >> >> include_dirs=[numpy.get_include()] > > So there's both > numpy.get_include > and > numpy.distutils.misc_util.get_numpy_include_dirs > > The former returns a string while the latter returns a list (which I > guess is somewhat more flexible), and the latter is implemented in > terms of the former, but I don't really understand the extra stuff > it's doing. > > Is one preferred?
The former. The latter is an internal convenience function for use inside of numpy.distutils. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
