From 1c4a7944d003f9d627cece91fa2d2986de2c1d4d Mon Sep 17 00:00:00 2001 From: ZhiQiang Fan Date: Thu, 27 Mar 2014 20:59:09 +0800 Subject: [PATCH] Align to openstack python package index mirror Some modules we developed will not be updated to pypi in time, meanwhile, jenkins will poll packages from openstack mirror, so it is worth to be set as default index in tox. User can use -i option in tox cli to change default index server to any popular or his favorite. Change-Id: I4449f9b6861a327cf2fd888205843b51a57dcd2f Closes-Bug: #1289121 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 82409602b..ff34685da 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ envlist = py26,py27,py33,pep8 [testenv] deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -install_command = pip install -U --allow-external pytidylib --allow-insecure pytidylib --allow-external netifaces --allow-insecure netifaces {opts} {packages} +install_command = pip install -i http://pypi.openstack.org/openstack -U --allow-external pytidylib --allow-insecure pytidylib --allow-external netifaces --allow-insecure netifaces {opts} {packages} usedevelop = True setenv = VIRTUAL_ENV={envdir} EVENTLET_NO_GREENDNS=yes