Re: [Numpy-discussion] problem with numpy.distutils and Cython

2009-09-06 Thread Nicolas Pinto
Thanks Lisandro, it worked perfectly! On Sun, Aug 23, 2009 at 6:30 PM, Lisandro Dalcin wrote: > The monkeypatching below in your setup.py could work. This way, you > just have to use numpy.distutils, but you will not be able to pass > many options to Cython (like C++ code generation?) > > from n

Re: [Numpy-discussion] problem with numpy.distutils and Cython

2009-08-23 Thread Lisandro Dalcin
The monkeypatching below in your setup.py could work. This way, you just have to use numpy.distutils, but you will not be able to pass many options to Cython (like C++ code generation?) from numpy.distutils.command import build_src import Cython import Cython.Compiler.Main build_src.Pyrex = Cython

Re: [Numpy-discussion] problem with numpy.distutils and Cython

2009-08-23 Thread Robert Kern
On Sun, Aug 23, 2009 at 00:27, Nicolas Pinto wrote: > Hello, > > I'm trying to use numpy.distutils and Cython in a setup.py but I'm running > into some problems. > > The following code raises a "AttributeError: fcompiler" when I run "python > setup.py install" (it runs smoothly with "python setup.p

[Numpy-discussion] problem with numpy.distutils and Cython

2009-08-23 Thread Nicolas Pinto
Hello, I'm trying to use numpy.distutils and Cython in a setup.py but I'm running into some problems. The following code raises a "AttributeError: fcompiler" when I run "python setup.py install" (it runs smoothly with "python setup.py build_ext --inplace"): from numpy.distutils.core import setup