http://trac.sagemath.org/sage_trac/ticket/5789

1 view
Skip to first unread message

William Stein

unread,
Apr 15, 2009, 2:22:42 AM4/15/09
to Ondrej Certik, spd-dev
Hi Ondrej,

When you get a chance, maybe you can try/refeee/whatever
http://trac.sagemath.org/sage_trac/ticket/5789

------------------------------------------

NOTE: The patches don't apply cleanly. The bundle works perfectly
against sage-3.4.1.rc[1-2] and applies cleanly.

The authors of this are Mike Hansen and William Stein.

After applying the bundle (with hg_sage.apply('bundle_of_it_all.hg'))
sage should work 100% as usual. However, if in devel/sage/ you type

./spkg-distlite

then the dist directory will contained

dist/sagelite-3.4.1.tar.gz

You can take that sagelite-3.4.1.tar.gz and drop it into "any" Python
(extract and do python setup.py install) that has twisted, pexpect,
Ipython and maybe some other easy dependencies, and you should be able
to do

>>> from sage.server.notebook.notebook_object import notebook
>>> notebook('test_dir')

and get the Sage notebook, completely independent of the rest of the
Sage library!

If you switch the mode to python in the list at the top of the screen,
you should be able to compute 2+2.

Here's a link to the sagelite-3.4.1.tar.gz (only 603K!) that the above
instructions would produce:

http://sage.math.washington.edu/home/wstein/patches/sagelite-3.4.1.tar.gz

----------------------------------------

William

--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

Reply all
Reply to author
Forward
0 new messages