[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-28 Thread Robert Bradshaw
The tickets: http://trac.sagemath.org/sage_trac/ticket/4571 and http://trac.cython.org/cython_trac/ticket/339 . Also, http:// trac.sagemath.org/sage_trac/ticket/6438 to support complex numbers in Sage. - Robert On Jun 7, 2009, at 7:34 AM, Glenn Tarbox, PhD wrote: > This has become a two p

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-08 Thread Jaap Spies
William Stein wrote: > The justification for the existence of "./sage -sh" is that you can > type "exit" to get out of that subshell, and all the Sage environment > variables are no longer defined. Also, on some systems "./sage -sh" > changes the prompt as a reminder (it's a bug that it doesn't

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-08 Thread Dag Sverre Seljebotn
Jason Grout wrote: > Dag Sverre Seljebotn wrote: >> Jason Grout wrote: >>> ghtdak wrote: On Jun 7, 11:29 am, Dag Sverre Seljebotn wrote: > Glenn Tarbox, PhD wrote: >> setup.py is pulled directly from the cython tutorial docs: >> tar...@puget:$ cat setup.py >> from distut

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-08 Thread Jason Grout
Dag Sverre Seljebotn wrote: > Jason Grout wrote: >> ghtdak wrote: >>> On Jun 7, 11:29 am, Dag Sverre Seljebotn >>> wrote: Glenn Tarbox, PhD wrote: > setup.py is pulled directly from the cython tutorial docs: > tar...@puget:$ cat setup.py > from distutils.core import setup > f

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-08 Thread Dag Sverre Seljebotn
Dag Sverre Seljebotn wrote: > Jason Grout wrote: >> ghtdak wrote: >>> >>> On Jun 7, 11:29 am, Dag Sverre Seljebotn >>> wrote: Glenn Tarbox, PhD wrote: > setup.py is pulled directly from the cython tutorial docs: > tar...@puget:$ cat setup.py > from distutils.core import setup >>>

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-08 Thread Dag Sverre Seljebotn
Jason Grout wrote: > ghtdak wrote: >> >> On Jun 7, 11:29 am, Dag Sverre Seljebotn >> wrote: >>> Glenn Tarbox, PhD wrote: setup.py is pulled directly from the cython tutorial docs: tar...@puget:$ cat setup.py from distutils.core import setup from distutils.extension import Exte

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-08 Thread Jason Grout
ghtdak wrote: > > > On Jun 7, 11:29 am, Dag Sverre Seljebotn > wrote: >> Glenn Tarbox, PhD wrote: >>> setup.py is pulled directly from the cython tutorial docs: >>> tar...@puget:$ cat setup.py >>> from distutils.core import setup >>> from distutils.extension import Extension >>> from Cython.Dis

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-08 Thread ghtdak
On Jun 7, 11:29 am, Dag Sverre Seljebotn wrote: > Glenn Tarbox, PhD wrote: > > setup.py is pulled directly from the cython tutorial docs: > > > tar...@puget:$ cat setup.py > > from distutils.core import setup > > from distutils.extension import Extension > > from Cython.Distutils import build_e

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-07 Thread William Stein
On Sun, Jun 7, 2009 at 9:19 PM, ghtdak wrote: > > > > On Jun 7, 9:09 am, Craig Citro wrote: >> > Trying an equivalent Cython NumPy test file yields the following error: >> >> > tar...@tarbox-laptop:$ python setup.py build_ext --inplace >> >> Just to confirm here: are you running from a sage shell

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-07 Thread ghtdak
On Jun 7, 9:09 am, Craig Citro wrote: > > Trying an equivalent Cython NumPy test file yields the following error: > > > tar...@tarbox-laptop:$ python setup.py build_ext --inplace > > Just to confirm here: are you running from a sage shell (i.e. by > running sage -sh)? Otherwise my first thought

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-07 Thread Dag Sverre Seljebotn
Glenn Tarbox, PhD wrote: > setup.py is pulled directly from the cython tutorial docs: > > tar...@puget:$ cat setup.py > from distutils.core import setup > from distutils.extension import Extension > from Cython.Distutils import build_ext > > setup( > cmdclass = {'build_ext': build_ext}, >

[sage-devel] Re: Using Cython / Numpy with Sage...

2009-06-07 Thread Craig Citro
> Trying an equivalent Cython NumPy test file yields the following error: > > > > tar...@tarbox-laptop:$ python setup.py build_ext --inplace > Just to confirm here: are you running from a sage shell (i.e. by running sage -sh)? Otherwise my first thought