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

Marius Gedminas marius at gedmin.as
Mon Dec 1 23:01:31 PST 2014

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:

This is how it determines where to search for the wheels:

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

Marius Gedminas
"If we were meant to fly, we wouldn't keep losing our luggage."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 173 bytes
Desc: Digital signature
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20141202/7248b6a0/attachment.pgp>

More information about the testing-in-python mailing list