#6235: set MPLCONFIGDIR environment variable when Sage starts up
----------------------+-----------------------------------------------------
   Reporter:  was     |       Owner:  cwitty  
       Type:  defect  |      Status:  new     
   Priority:  minor   |   Milestone:  sage-4.6
  Component:  misc    |    Keywords:          
     Author:          |    Upstream:  N/A     
   Reviewer:          |      Merged:          
Work_issues:          |  
----------------------+-----------------------------------------------------

Comment(by leif):

 Replying to [comment:15 jhpalmieri]:
 > How about separate matplotlib config directories for each version of
 matplotlib?
 > [...]
 > we can set {{{MPLCONFIGDIR}}} to something like
 {{{$DOT_SAGE/matplotlib-$VER}}}.

 Sounds like a good idea to me. (You should suggest similar upstream; they
 could ''read'' {{{MPLCONFIGDIR}}} but ''write'' incompatible things to a
 versioned subdirectory of that.)

 > In case my idea works, when you install the matplotlib spkg, does it
 need to know the value of {{{MPLCONFIGDIR}}}, or is it safe to set that
 only after matplotlib has been installed?

 I'm not sure if MPL writes anything to that during installation; it's
 perhaps sufficient to set MPLCONFIGDIR before ''using'' MPL (i.e., after
 installation) to fix the {{{TypeError}}} issue with parallel installations
 of older versions.

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