#13397: sage-location: handle lib64 also
----------------------------------+-----------------------------------------
       Reporter:  jdemeyer        |         Owner:  tdb            
           Type:  defect          |        Status:  positive_review
       Priority:  critical        |     Milestone:  sage-5.4       
      Component:  relocation      |    Resolution:                 
       Keywords:                  |   Work issues:                 
Report Upstream:  N/A             |     Reviewers:  John Palmieri  
        Authors:  Jeroen Demeyer  |     Merged in:                 
   Dependencies:                  |      Stopgaps:                 
----------------------------------+-----------------------------------------
Changes (by jhpalmieri):

  * status:  needs_review => positive_review
  * reviewer:  => John Palmieri


Comment:

 Looks good to me. (I'm not sure how this fits in with #13432; would it be
 worth it to recast everything in terms of `SAGE_LOCAL`? At the top of the
 file, you could do something like this:
 {{{
 SAGE_ROOT      = os.path.realpath(os.environ['SAGE_ROOT'])
 try:
     SAGE_LOCAL     = os.path.realpath(os.environ['SAGE_LOCAL'])
 except KeyError:
     SAGE_LOCAL     = os.path.join(SAGE_ROOT, 'local')
 }}}
 and then use `SAGE_LOCAL` everywhere in the rest of the script. This
 belongs on another ticket, though.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13397#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