#10097: Sage won't start after moving or renaming the 4.6.alpha3 root directory
------------------------+---------------------------------------------------
   Reporter:  mpatel    |       Owner:  jason, was
       Type:  defect    |      Status:  new       
   Priority:  blocker   |   Milestone:  sage-4.6  
  Component:  notebook  |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by mpatel):

 Replying to [comment:2 jason]:
 > Shouldn't the setup.py develop create relative references to the sagenb
 repository, rather than absolute references?  That would take care of the
 second point.

 For the "topmost" link, we could use
 {{{
 #!sh
 cd "$SAGE_ROOT/devel"
 ln -snf sagenb-main sagenb
 }}}
 in SageNB's `spkg-install`.

 For example, `sage-build` does
 {{{
 #!sh
 if [ "$1" != "" ]; then
     # make devel/sage point to devel/$1
     cd "$SAGE_ROOT/devel/"
     if [ ! -d "sage-$1" ]; then
         # this will happen a lot because of people (=me) making typos.
         echo "No such branch '$SAGE_ROOT/devel/sage-$1'"
         echo "Use 'sage -clone' to create a new branch."
         exit 1
     fi
     ln -snf "sage-$1" sage
 fi
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10097#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en.

Reply via email to