On Mon, Jun 7, 2010 at 1:00 AM, Fredrik Johansson <fredrik.johans...@gmail.com> wrote: > On Mon, Jun 7, 2010 at 4:18 AM, Ondrej Certik <ond...@certik.cz> wrote: >> >> Will it be possible to also use it outside of Sage? E.g. I guess if >> you do "setup.py install" in mpmath, that it would compile the Cython >> codes and install it? That'd be really cool. > > > It can be done in theory. The main problem is that the Cython extension code > requires MPIR and the MPIR interface code in Sage.
How many things are needed from MPIR? Looking at mpmath/libmp/backend.py, do you need only MPZ (=sage.Integer), or do you need more things? Also, where in Sage will the Cython code be? Or will it be in the mpmath repository? Ondrej -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org