#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 buck):

 So. I traced through it. I believe the sequents of events are this:

  * we run: python setup.py install
  * which runs: setup.py egg_info
  * even though it's not installed yet, this uses setuptools' egg_info.run
  * which iterates through all "egg_info.writers" entrypoints (whatever
 that may be)
  * one of which is ~/.local/.../pbr  (this is why you can't repro =/)
  * pbr apparently requires pip
  * setuptools ensures entrypoint requirements are met
  * so it tries to install pip
  * splosion

 In summary, NOTABUG. Possibly it's a pbr or setuptools bug, but probably
 not.

 That said, sage --env could prevent this issue in future by setting
 `PYTHONNOUSERSITE=true`.

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