Here's how to install SnapPy on the VMWare version of SAGE; you have to do a little hack to account for the fact that certain header files are missing.
wget -nd http://www.math.uic.edu/~t3m/SnapPy/SnapPy.tar.gz tar xfz SnapPy.tar.gz; cd SnapPy sudo sage -python -m easy_install -U cython sudo sage -python -m easy_install -U sphinx # Edit line 207 of "setup.py" to read: "ext_modules = [SnapPyC]," sudo sage -python setup.py install sudo sage -python setup.py build_docs install cd ../; sage # test ---------------------------------------------------------------------- | Sage Version 4.0, Release Date: 2009-05-29 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: import snappy sage: M = snappy.Manifold('m004') sage: M.volume() 2.0298832128193069 sage: [C.homology() for C in M.covers(8, method='gap')] [Z/21 + Z/105 + Z, Z/30 + Z, Z/30 + Z, Z/3 + Z/3 + Z + Z, Z/3 + Z + Z, Z/3 + Z/3 + Z + Z, Z/3 + Z + Z, Z/3 + Z/3 + Z + Z, Z/5 + Z + Z, Z + Z] SnapPy does have some Sage specific features as you can see above. I plan on making an spkg for it eventually. Best, Nathan --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
