Re: [sage-devel] Re: SAGE_PATH and PYTHONPATH

2017-09-12 Thread Erik Bray
On Sat, Sep 9, 2017 at 9:20 PM, Ralf Hemmecke wrote: > On 09/09/2017 05:05 PM, Maarten Derickx wrote: >> In case people start setting pythonpath after reading this thread: >> you will actually get some silly doctest failures if python path is >> set. > > I don't need to set SAGE_PATH (or PYTHONPAT

Re: [sage-devel] Re: SAGE_PATH and PYTHONPATH

2017-09-09 Thread Maarten Derickx
Hi Ralf, Yes but considering you are on sage-devel I thought there might be a reasonable chance that you would run into this issue sooner or later (especially if you set pythonpath in your bashrc). I just wanted to shamelessly advertise that trac ticket to potentially interested people. The

Re: [sage-devel] Re: SAGE_PATH and PYTHONPATH

2017-09-09 Thread Ralf Hemmecke
On 09/09/2017 05:05 PM, Maarten Derickx wrote: > In case people start setting pythonpath after reading this thread: > you will actually get some silly doctest failures if python path is > set. I don't need to set SAGE_PATH (or PYTHONPATH) for testing Sage. All I want is to tell Sage about a locall

[sage-devel] Re: SAGE_PATH and PYTHONPATH

2017-09-09 Thread Maarten Derickx
In case people start setting pythonpath after reading this thread: you will actually get some silly doctest failures if python path is set. I have made a ticket for this which fixes these doctest: https://trac.sagemath.org/ticket/23613 It is a very Small change and it currently needs review. T

[sage-devel] Re: SAGE_PATH and PYTHONPATH

2017-09-07 Thread Nils Bruin
On Wednesday, September 6, 2017 at 2:25:35 AM UTC-7, Ralf Hemmecke wrote: > > Since my settings using SAGE_PATH do seemingly not work anymore, I > looked for the use of SAGE_PATH in the sources. > > I found in 7.6 some code > > if [ -n "$SAGE_PATH" ]; then > PYTHONPATH="$SAGE_PATH:$