#9507: if spkg-install is a Python script, first check that 
SAGE_LOCAL/bin/python
exists.
-----------------------------+----------------------------------------------
   Reporter:  was            |       Owner:  GeorgSWeber    
       Type:  enhancement    |      Status:  positive_review
   Priority:  major          |   Milestone:  sage-4.5.1     
  Component:  build          |    Keywords:                 
     Author:  William Stein  |    Upstream:  N/A            
   Reviewer:  Robert Miller  |      Merged:                 
Work_issues:                 |  
-----------------------------+----------------------------------------------

Comment(by leif):

 Yet another one:

 Perhaps in addition to a slightly modified version of William's patch, put
 that as {{{$SAGE_LOCAL/bin/python}}} into the scripts repo:
 {{{
 #!sh
 #!/usr/bin/env bash

 echo python $@ ":"

 echo "Error: Sage's Python has not yet been installed!"
 echo "       This is most probably due to incorrect dependencies in the
 Makefiles."
 echo "Please report this to ..."

 exit 1
 }}}
 and let the Python spkg just overwrite it with the binary. (This avoids
 unnecessary indirection.)

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