#10831: Make python support SAGE_SPKG_INSTALL_DOCS
---------------------------+------------------------------------------------
   Reporter:  jason        |       Owner:  tbd       
       Type:  enhancement  |      Status:  needs_info
   Priority:  major        |   Milestone:  sage-4.7  
  Component:  packages     |    Keywords:            
     Author:  Jason Grout  |    Upstream:  N/A       
   Reviewer:               |      Merged:            
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by drkirkby):

 Replying to [comment:4 jason]:
 > Yes, I suppose worst-case is just adding a python-docs target to the
 deps file that builds python again after sphinx is installed.

 That's quite easy to do.

 > A slightly better case is adding a python-docs target that defines an
 environment variable SAGE_PYTHON_BUILD=no or something and then re-
 installs the python spkg.  Then modify the python spkg to check for that
 variable and not actually build python if that variable is no.

 Ideally though we don't want the user to have to mess with that
 environment variable. I think this can be automated.

 As long as there's not an issue with hard-coded paths (which may make the
 documentation useless if Sage is moved), then I think a temporary tar file
 is the best solution, as it will save a lot of time. Python is a big
 package to build twice if it is unnecessary.

 This needs a bit of thought, and its late here, so I'm going to bed.

 Dave

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