summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornjsmith <njs@pobox.com>2012-09-11 11:07:13 -0700
committernjsmith <njs@pobox.com>2012-09-11 11:07:13 -0700
commitb6a1acdd6c989e6e2ab6d68f1b60af030bcccc49 (patch)
tree2f5dbb4e9be8c6473d94a6e296faf6e9bb031876
parent6315567d69fd58e607ef1c75f2a9cbeb0b451dd7 (diff)
parent9c9d4bc6d1c8feb3c268b6421fe01f02eebfd3ab (diff)
downloadnumpy-b6a1acdd6c989e6e2ab6d68f1b60af030bcccc49.tar.gz
Merge pull request #431 from njsmith/fix-travis-py24-build
FIX: use py24-compatible version of virtualenv on Travis
-rwxr-xr-x.travis-make-py24-virtualenv.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis-make-py24-virtualenv.sh b/.travis-make-py24-virtualenv.sh
index 625f8b7b7..972e2d26c 100755
--- a/.travis-make-py24-virtualenv.sh
+++ b/.travis-make-py24-virtualenv.sh
@@ -15,4 +15,11 @@ EOF
./configure --prefix=$PWD/install
make
make install
-virtualenv -p install/bin/python2.4 --distribute $VIRTENV
+# This is the last version of virtualenv to support python 2.4:
+curl -O https://raw.github.com/pypa/virtualenv/1.7.2/virtualenv.py
+# And this is the last version of pip to support python 2.4. If
+# there's a file matching "^pip-.*(zip|tar.gz|tar.bz2|tgz|tbz)$" in
+# the current directory then virtualenv will take that as the pip
+# source distribution to install
+curl -O http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz
+install/bin/python2.4 ./virtualenv.py --distribute $VIRTENV