#20706: fallback site.getsitepackages in virtualenv
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  chapoton               |       Status:  needs_review
           Type:         |    Milestone:  sage-7.3
  enhancement            |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:
  PLEASE CHANGE          |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  3ca877f89ffd11d5c3e5ea8222be896e36ff3973
  Frédéric Chapoton      |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  public/20706           |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by embray):

 That's annoying about virtualenv.  I never ran into it before, I guess
 because using `site.getsitepackages` isn't very common.  But it ought to
 work.  I'm surprised it hasn't been fixed by now.

 Unfortunately I think this workaround is incomplete, because if you're
 using a virtualenv with `--system-site-packages` this will still be
 incorrect.  Maybe for Sage's purposes it doesn't matter though.  I'd have
 to look at how `SITE_PACKAGES` is being used.

--
Ticket URL: <http://trac.sagemath.org/ticket/20706#comment:2>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to