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
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
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
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