[TIP] Tox' recreation behaviour for dependency updates

Albert-Jan Roskam fomcl at yahoo.com
Tue Mar 4 05:47:14 PST 2014


On Mon, 3/3/14, Marius Gedminas <marius at gedmin.as> wrote:

 Subject: Re: [TIP] Tox' recreation behaviour for dependency updates
 To: testing-in-python at lists.idyll.org
 Date: Monday, March 3, 2014, 1:28 PM
 
 On Mon, Mar 03, 2014 at 11:09:13AM
 +0000, holger krekel wrote:
 > For cutting down install times trying out wheel-binary
 packages might
 > be the way to go.
 
Never tried this, but (in Tox) you might be able to set environment vars PIP_NO_INDEX and PIP_FIND_LINKS
you might be able to use pre-downloaded dependencies.

http://www.pip-installer.org/en/latest/user_guide.html#environment-variables
http://www.pip-installer.org/en/latest/user_guide.html#fast-local-installs

$ pip install --no-index --find-links=file:///local/dir/ SomePackage
$ pip install --no-index --find-links=/local/dir/ SomePackage
$ pip install --no-index --find-links=relative/dir/ SomePackage



More information about the testing-in-python mailing list