#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:12 jason]:
 > At the same time, this directory should not be inside a specific Sage
 installation (i.e., below SAGE_ROOT) since that means system-wide installs
 can't have individual customizations, and it also breaks system-wide font
 cache generation (i.e., matplotlib assumes that a user can update the font
 cache file, I believe).  So where are we now?  Separate matplotlib config
 directories for each version of Sage inside of the .sage directory?

 I was thinking of that, too. Not that easy, though. (E.g. using the Sage
 version as an "index" isn't reliable either.)

 Is the font cache the only problem? If so, we could just delete it upon
 every Sage [script] start-up... (quite ugly, of course)

 But older versions of MPL should simply recognize config files from newer
 versions and e.g. (partially) ignore them. Or at least print an
 ''appropriate'' error message. (Not very pythonic, I know. *SCNR*)

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