#12291: Unconditionally set PYTHONPATH and PYTHONHOME in sage-env
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: leif
Type: defect | Status: new
Priority: major | Milestone: sage-5.0
Component: scripts | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
`sage-env` contains:
{{{
if [ -d "$SAGE_ROOT/local/lib/python" ]; then
PYTHONPATH="$SAGE_ROOT/local/lib/python"
if [ -n "$SAGE_PATH" ]; then
PYTHONPATH="$SAGE_PATH:$PYTHONPATH"
fi
PYTHONHOME="$SAGE_ROOT/local"
export PYTHONPATH
export PYTHONHOME
fi
}}}
I see no reason to set these environment variables ''only'' if Python is
already installed. On the contrary, I think they are good to have during
the "testing" part of the Python spkg.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12291>
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.