<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 12/2/14 12:01 AM, Marius Gedminas
      wrote:<br>
    </div>
    <blockquote cite="mid:20141202070131.GA1864@platonas" type="cite">
      <pre wrap="">On Mon, Dec 01, 2014 at 10:40:31AM -0700, Brian Ruff wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I'm trying to work around an issue with pip/virtualenv and a proxy. I want
to try to specify a patched pip wheel for virtualenv to use when tox is
creating the venv, maybe by using the --extra-search-dir option.  So far I'm
not having any success and I am looking for suggestions.
</pre>
      </blockquote>
      <pre wrap="">
This is how virtualenv searches for the pip wheel:
<a class="moz-txt-link-freetext" href="https://github.com/pypa/virtualenv/blob/1.11.6/virtualenv.py#L913">https://github.com/pypa/virtualenv/blob/1.11.6/virtualenv.py#L913</a>

This is how it determines where to search for the wheels:
<a class="moz-txt-link-freetext" href="https://github.com/pypa/virtualenv/blob/1.11.6/virtualenv.py#L526">https://github.com/pypa/virtualenv/blob/1.11.6/virtualenv.py#L526</a>

It seems to me that all you need to do is put the patched pip wheel in the
current working directory (assuming tox doesn't chdir before it invokes
virtualenv).

Marius Gedminas
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    Thanks, no change.  Though now I see that the venv is pulling in pip
    1.5.4 and the system's version is 1.5.6 (and patched).  So maybe it
    is getting this through a tox.ini directive or script invocation? 
    I'm just starting off with using tox and don't have any feel for
    what is doing what, yet.<br>
    <blockquote cite="mid:20141202070131.GA1864@platonas" type="cite">
      <pre wrap="">_______________________________________________
testing-in-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a>
<a class="moz-txt-link-freetext" href="http://lists.idyll.org/listinfo/testing-in-python">http://lists.idyll.org/listinfo/testing-in-python</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>