On Dec 30, 2010, at 2:08 PM, Ivan Andrus wrote:
On Dec 30, 2010, at 12:56 PM, Volker Braun wrote:
5. Make a symlink /somewhere/in/PATH/sage - $SAGE_ROOT/sage
So if the user has ~/bin already in his path, then this could be done
without administrative rights.
I think this is what install_scripts() does, but I could be wrong. Actually
I just read the code of install_scripts() and it requires sage be in PATH so
that is not an option after all.
I suppose I can have them choose a directory which is in their PATH and make
a symlink there. Maybe I could just have them choose from either ~/bin or
/usr/local/bin. If they need something other than those they can figure it
out themselves.
Okay, I have put up a patch at
http://trac.sagemath.org/sage_trac/ticket/10556
where there is a screen shot so you can give feedback, at least on wording
etc., without having to build it.
It's a button with options of ~/bin and /usr/local/bin to install a symlink.
Then it just runs the command in a shell so that they can type in their
password if needed and see any output that there may be. It's not particularly
pretty, but it should do the trick.
-Ivan
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org