From ea3e82ccba37a8a53e42586c3907beeef5a1961d Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Fri, 7 Mar 2014 14:59:36 +0100 Subject: [PATCH] --use-mirrors It seems to be deprecated, but everybody seems to use it. --- .travis.yml | 1 - README.md | 1 - install-deps.sh | 5 +++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8455d31..3b9f87e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ env: - DAV_SERVER=radicale-git install: - - "pip install ." - "sh install-deps.sh" script: py.test diff --git a/README.md b/README.md index 57ad626..5f214c2 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,5 @@ Run `vdirsyncer --help`. ## How to run the tests - pip install . sh install_deps.sh py.test diff --git a/install-deps.sh b/install-deps.sh index c4e5d56..d130e64 100644 --- a/install-deps.sh +++ b/install-deps.sh @@ -1,8 +1,9 @@ -pip install -r requirements.txt +pip install --use-mirrors . +pip install --use-mirrors -r requirements.txt [[ -z "$DAV_SERVER" ]] && DAV_SERVER=radicale case "$DAV_SERVER" in "radicale") - pip install radicale + pip install --use-mirrors radicale ;; "radicale-git") pip install git+https://github.com/Kozea/Radicale.git