Opened 11 years ago

Closed 11 years ago

#12291 closed defect (wontfix)

Unconditionally set PYTHONPATH and PYTHONHOME in sage-env

Reported by: Jeroen Demeyer Owned by: Leif Leonhardy
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: scripts Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


sage-env contains:

if [ -d "$SAGE_ROOT/local/lib/python" ]; then
    if [ -n "$SAGE_PATH" ]; then
    export PYTHONPATH
    export PYTHONHOME

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.

Attachments (1)

12291_python_env.patch (959 bytes) - added by Jeroen Demeyer 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by Jeroen Demeyer

Attachment: 12291_python_env.patch added

comment:1 Changed 11 years ago by Jeroen Demeyer

Milestone: sage-5.0sage-duplicate/invalid/wontfix
Resolution: wontfix
Status: newclosed

Never mind, this can actually cause build failures of Python.

Note: See TracTickets for help on using tickets.