[Numpy-discussion] numpy.distutils, lapack, and cython
Fri Sep 28 11:58:33 CDT 2012
On Fri, Sep 28, 2012 at 3:45 PM, Nathaniel Smith <email@example.com> wrote:
> Hi all,
> I've gotten a pull request for scikits-sparse to switch it to using
> Overall this seems fair enough, finding libraries is a pain and
> numpy.distutils has that knowledge.
> 1) What's the proper way to find lapack using numpy.distutils? The
> patch tries lapack_mkl_info and lapack_info, but this is 2 of the 6
> variants that my numpy.distutils.system_info contains. Really what I
> probably want is a way to ask numpy how it was built (including any
> custom paths the user used) and to default to doing the same? Is that
> 2) Is there a better way to build Cython files than this weird
> monkey-patching thing they propose? (It's still better than the horror
> that setuptools/distribute require, but I guess I have higher
> 3) Can I use 2to3 along with numpy.distutils?
For this last - current nipy trunk uses 2to3 with numpy.distutils, for
porting the tests and the doctests.
More information about the NumPy-Discussion