From 4645dc8d9909e1d0e991951d4a7e183f4ef640fd Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 6 Oct 2014 18:59:43 -0500 Subject: [PATCH] Use github downloads for specific versions on Py2.7 --- .travis.yml | 5 +++-- requirements.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index c6c4b5a1..13f93387 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,10 +23,11 @@ before_install: - travis_retry pip install wheel flake8 coveralls nose # on Python 2.7, use the system versions of numpy, scipy, and matplotlib - # and the minimum version of the rest of the requirements + # and the minimum version of cython and networkx - if [[ $TRAVIS_PYTHON_VERSION == 2.7* ]]; then travis_retry sudo apt-get install python-scipy python-matplotlib; - pip install cython==0.19.2 networkx==1.6.2 six==1.3; + pip install https://github.com/cython/cython/archive/0.19.2.tar.gz + pip install https://github.com/networkx/networkx/archive/networkx-1.6.tar.gz fi - travis_retry pip install -r requirements.txt $WHEELHOUSE; diff --git a/requirements.txt b/requirements.txt index 7464d13d..6c842e53 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,5 @@ matplotlib>=1.1.1 numpy>=1.6.1 scipy>=0.9 six>=1.3 -networkx>=1.6.2 +networkx>=1.6 pillow>=1.1.7