[TIP] tox and virtualenv --extra-search-dir

Brian Ruff brian.ruff at oracle.com
Tue Dec 2 07:50:03 PST 2014

On 12/2/14 12:01 AM, Marius Gedminas wrote:
> On Mon, Dec 01, 2014 at 10:40:31AM -0700, Brian Ruff wrote:
>> 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.
> This is how virtualenv searches for the pip wheel:
> https://github.com/pypa/virtualenv/blob/1.11.6/virtualenv.py#L913
> This is how it determines where to search for the wheels:
> https://github.com/pypa/virtualenv/blob/1.11.6/virtualenv.py#L526
> 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
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.
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20141202/ceecf833/attachment.htm>

More information about the testing-in-python mailing list