More details. When I invoke mysage from the command line, and I type sys.path
it prints paths pointing to my local branch. However, if I fire up the notebook server by notebook() start a new notebook and type sys.path it points to the system wide directory. If I type os.environ['SAGE_ROOT'] from the command line it points to my local branch but from the notebook it points to the system directory. Victor On Aug 4, 2:20 pm, William Stein <wst...@gmail.com> wrote: > On Tue, Aug 4, 2009 at 10:40 AM, VictorMiller<victorsmil...@gmail.com> wrote: > > > I have a copy of SAGE 4.1 installed in our system files, and I want to > > work on changing some code. So, I copied sage and its subdirectories > > into my home directory: > > > cp -p -R sage-system-directory ~/sage > > > I also copied the sage script into my ~/bin, renaming it mysage and > > then edited the SAGE_ROOT line > > to point to ~/mysage > > > I then did a mysage -ba > > > to rebuild > > > However, when I fire up mysage, and I type > > > sys.path > > > the paths listed are still in the system directory > > > If I do something like > > > Integer?? > > > the paths listed are still in the system directory > > > I tried changing a function, then doing a sage -b, but it doesn't use > > the newly changed function > > (I put in a print statement). > > > What did I do wrong? > > Guess 1: Your sysadmin maybe edited the ROOT="...." line in > SAGE_ROOT/sage to point to SAGE_ROOT. You should edit your > SAGE_ROOT/sage and change ROOT=? to the path to SAGE_ROOT in your home > directory. > > -- William --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---