#18955: setuptools requires pip
--------------------------------------+------------------------
       Reporter:  buck                |        Owner:
           Type:  defect              |       Status:  new
       Priority:  major               |    Milestone:  sage-6.9
      Component:  packages: standard  |   Resolution:
       Keywords:                      |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------

Comment (by jhpalmieri):

 So is a patch like this worthwhile?
 {{{
 #!diff
 diff --git a/build/bin/sage-spkg b/build/bin/sage-spkg
 index f4b085b..0de067a 100755
 --- a/build/bin/sage-spkg
 +++ b/build/bin/sage-spkg
 @@ -148,6 +148,9 @@ if [ -n "$PYTHONPATH" ]; then
      fi
  fi

 +# Set PYTHONNOUSERSITE=yes to avoid trouble with setuptools.
 +export PYTHONNOUSERSITE=yes
 +
  ##################################################################
  # Handle special command-line options
  ##################################################################
 }}}
 This should set `PYTHONNOUSERSITE` while installing packages but not while
 running Sage.

--
Ticket URL: <http://trac.sagemath.org/ticket/18955#comment:9>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to