#6235: set MPLCONFIGDIR environment variable when Sage starts up
-----------------------------+----------------------------------------------
Reporter: was | Owner: cwitty
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-4.6
Component: misc | Keywords:
Author: John Palmieri | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Comment(by jhpalmieri):
Here's a new patch using leif's less funny version. It also does not set
MPLCONFIGDIR if the file {{{matplotlib/__init__.py}}} is not found, partly
because I don't want to have to create $DOT_SAGE/matplotlib early in the
installation process. One small drawback to the current approach is that
perhaps during an upgrade from a version of Sage using matplotlib-0.99 to
a version using matplotlib-1.0.0, the directory $DOT_SAGE/matplotlib-0.99
will be created first but will remain empty and will never be used. But I
seem to have various subdirectories in $DOT_SAGE which I never pay
attention to, so having one more doesn't seem like a big deal.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6235#comment:26>
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.