#12563: Don't "import site" in sympy's installer
------------------------+---------------------------------------------------
   Reporter:  jdemeyer  |          Owner:  tbd           
       Type:  defect    |         Status:  needs_review  
   Priority:  blocker   |      Milestone:  sage-5.0      
  Component:  packages  |       Keywords:                
Work_issues:            |       Upstream:  N/A           
   Reviewer:            |         Author:  Jeroen Demeyer
     Merged:            |   Dependencies:                
------------------------+---------------------------------------------------
Description changed by jdemeyer:

Old description:

> Since #12329, sympy might be installed after the Sage library.  The sympy
> `setup.py` imports lots of stuff, including `sage` itself.  One nasty
> consequence is that `sage-cleaner` can get started because of this.
>
> The solution is to start `setup.py` with python's `-S` option to start
> Python with a minimal `sys.path`.
>
> '''spkg''':
> [http://boxen.math.washington.edu/home/jdemeyer/spkg/sympy-0.7.1.p0.spkg]

New description:

 Since #12329, sympy might be installed after the Sage library.  The sympy
 `setup.py` imports lots of stuff, including `sage` itself.  This is
 obviously not good, since not all of Sage has been built.  Possible
 consequences include segmentation faults or `sage-cleaner` being started.

 The solution is to start `setup.py` with python's `-S` option to start
 Python with a minimal `sys.path`.

 '''spkg''':
 [http://boxen.math.washington.edu/home/jdemeyer/spkg/sympy-0.7.1.p0.spkg]

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12563#comment:3>
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.

Reply via email to