[sage-devel] Re: Issue with Sage, Cython, and Numpy

2010-02-03 Thread M. Yurko
Thanks for the help. It works now. I probably would be good if it was found automatically. On Feb 2, 11:12 pm, Robert Bradshaw rober...@math.washington.edu wrote: On Feb 2, 2010, at 7:40 PM, M. Yurko wrote: For the simple example I just used pyximport. For the extension module I used a

[sage-devel] Re: Issue with Sage, Cython, and Numpy

2010-02-02 Thread Georg S. Weber
On 2 Feb., 21:26, Michael Yurko myu...@gmail.com wrote: Hello All, I've recently been building an extension module using both cython and numpy. It works fine with my system-wide install of python with numpy and cython as well as my install of sage. However, when I try to run it from sage on

[sage-devel] Re: Issue with Sage, Cython, and Numpy

2010-02-02 Thread M. Yurko
On Feb 2, 6:44 pm, Georg S. Weber georgswe...@googlemail.com wrote: On 2 Feb., 21:26, Michael Yurko myu...@gmail.com wrote: Hello All, I've recently been building an extension module using both cython and numpy. It works fine with my system-wide install of python with numpy and cython

Re: [sage-devel] Re: Issue with Sage, Cython, and Numpy

2010-02-02 Thread Robert Bradshaw
On Feb 2, 2010, at 4:11 PM, M. Yurko wrote: On Feb 2, 6:44 pm, Georg S. Weber georgswe...@googlemail.com wrote: On 2 Feb., 21:26, Michael Yurko myu...@gmail.com wrote: Hello All, I've recently been building an extension module using both cython and numpy. It works fine with my

[sage-devel] Re: Issue with Sage, Cython, and Numpy

2010-02-02 Thread M. Yurko
The small example that I posted used pyximport. The extension module that made me originally see the issue was built with a setup.py distutils script. I have the same issue with both of them. They work on a normal python distribution, but fail if there is not a system- wide install of numpy. The

Re: [sage-devel] Re: Issue with Sage, Cython, and Numpy

2010-02-02 Thread Robert Bradshaw
On Feb 2, 2010, at 7:20 PM, M. Yurko wrote: The small example that I posted used pyximport. The extension module that made me originally see the issue was built with a setup.py distutils script. I have the same issue with both of them. They work on a normal python distribution, but fail if

[sage-devel] Re: Issue with Sage, Cython, and Numpy

2010-02-02 Thread M. Yurko
On Feb 2, 10:31 pm, Robert Bradshaw rober...@math.washington.edu wrote: On Feb 2, 2010, at 7:20 PM, M. Yurko wrote: The small example that I posted used pyximport. The extension module that made me originally see the issue was built with a setup.py distutils script. I have the same issue

Re: [sage-devel] Re: Issue with Sage, Cython, and Numpy

2010-02-02 Thread Robert Bradshaw
On Feb 2, 2010, at 7:40 PM, M. Yurko wrote: For the simple example I just used pyximport. For the extension module I used a setup.py script. The start of the extension module is at http://modular.math.washington.edu/home/myurko/qap/qap/ . I haven't set any of the numpy include directories in