Increase pip timeout

Reviewers: buda

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1360
This commit is contained in:
Matej Ferencevic 2018-04-17 11:17:30 +02:00
parent dba81f223c
commit c9d2ad845c

4
init
View File

@ -43,7 +43,9 @@ function setup_virtualenv () {
# create new virtualenv
virtualenv -p python3 ve3 || exit 1
source ve3/bin/activate
pip install -i http://deps.memgraph.io:3141/root/pypi \
# we need to increase the timeout for pip because our local cache server
# can sometimes be stupid, see: https://github.com/devpi/devpi/issues/208
pip --timeout 1000 install -i http://deps.memgraph.io:3141/root/pypi \
--trusted-host deps.memgraph.io -r requirements.txt || exit 1
deactivate