summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2014-01-06 14:50:45 -0600
committerBrant Knudson <bknudson@us.ibm.com>2014-01-06 14:52:31 -0600
commit01dc81aa148adaa127281f197047636cf2d2c898 (patch)
tree2314d04db29f8805cffcad0ce39e2c5a606738d8
parent6cd7b4b26ecfaef53efdaac2dd685c23c49cd502 (diff)
downloadpython-keystoneclient-01dc81aa148adaa127281f197047636cf2d2c898.tar.gz
Whitelist external netaddr requirement
* tox.ini(testenv.install_command): Use the --allow-external and --allow-insecure options so that pip 1.5 and later will assent to retrieve the netaddr package even though it's not hosted on PyPI. The --allow-insecure option is aliased to a clearer --allow-unverified wording in 1.5, but the old form is being used to avoid breaking users of 1.4.x and will be valid at least through 1.6.x according to comments in the pip source. Change-Id: I7c29467ebdddee7a6c68ec3fd13579e4f0c40d30 Closes-Bug: #1266513 Co-Authored-By: Jeremy Stanley
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 238d7e0..c7f37d8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,7 +5,7 @@ envlist = py26,py27,py33,pep8
[testenv]
usedevelop = True
-install_command = pip install -U {opts} {packages}
+install_command = pip install --allow-external netaddr --allow-insecure netaddr -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en