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

Comment(by jason):

 Replying to [comment:5 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.

 Yep.  I'm thinking that the python-docs target will

   * Check to see if SAGE_SPKG_INSTALL_DOCS=yes, and if so:
   * set the SAGE_SPKG_PYTHON_BUILD=no variable and then reinstall the
 python spkg (which will then just build the docs, but not python).

 The user won't ever have to deal with that environment variable---it's all
 behind the scenes.

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