#12698: Add a warning not to install packages using the Sage shell
---------------------------+------------------------------------------------
   Reporter:  jdemeyer     |             Owner:  leif    
       Type:  enhancement  |            Status:  new     
   Priority:  major        |         Milestone:  sage-5.0
  Component:  scripts      |          Keywords:          
Work issues:               |   Report Upstream:  N/A     
  Reviewers:               |           Authors:          
  Merged in:               |      Dependencies:  #11790  
   Stopgaps:               |  
---------------------------+------------------------------------------------
 As we found out in
 [http://trac.sagemath.org/sage_trac/ticket/12369#comment:189], you cannot
 use the Sage shell to install Sage packages.

 The problem is that `sage-env` has some conditional commands.  One of
 these commands is setting `LD_LIBRARY_PATH`.  With #12405, only existing
 directories are added to `LD_LIBRARY_PATH`.  Upon entering the Sage shell,
 `$SAGE_LOCAL/lib` might not exist yet, so that directory isn't added.
 Since now `SAGE_ENV_SOURCED=1`, the variable `LD_LIBRARY_PATH` is not
 changed anymore.  Similarly, `PYTHONHOME` and `PYTHONPATH` are only set
 when Python has been installed.

 This ticket is about adding a warning when running `sage --sh`.

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