#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 jhpalmieri):
Can we just do
{{{
MPLCONFIGDIR="$DOT_SAGE/matplotlib"
export MPLCONFIGDIR
}}}
in sage-env? I suppose we could add yet another environment variable,
like SAGE_MPLCONFIGDIR, and do
{{{
if [ "$SAGE_MPLCONFIGDIR" = "" ]; then
MPLCONFIGDIR=$DOT_SAGE/matplotlib
else
MPLCONFIGDIR=$SAGE_MPLCONFIGDIR
fi
export MPLCONFIGDIR
}}}
but I don't think that's necessary. We already have too many environment
variables. I suppose we could test whether MPLCONFIGDIR is set, and if
so, print a warning (once) that Sage is not using the user's setting of
this variable. I'm not sure where to test this, though.
If we export our setting for MPLCONFIGDIR, then we also need to document
it, probably in the installation guide, saying that Sage uses its own
matplotlib config directory, not the default one or whatever the user may
have set.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6235#comment:10>
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.