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
This commit is contained in:
ZhiQiang Fan 2014-03-27 20:59:09 +08:00 committed by ZhiQiang Fan
parent 69a9bfa3a7
commit 1c4a7944d0
1 changed files with 1 additions and 1 deletions

View File

@ -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