Browse files

FIX: use py24-compatible version of virtualenv on Travis

Travis recently upgraded to virtualenv 1.8, which has dropped support
for Python 2.4. So, in our Python 2.4 setup script, we need to
explicitly fetch and use virtualenv 1.7. Likewise for pip 1.1.

File imported from the already-fixed version for patsy:
  • Loading branch information...
1 parent a744f3c commit 9c9d4bc6d1c8feb3c268b6421fe01f02eebfd3ab @njsmith njsmith committed Sep 7, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1
@@ -15,4 +15,11 @@ EOF
./configure --prefix=$PWD/install
make install
-virtualenv -p install/bin/python2.4 --distribute $VIRTENV
+# This is the last version of virtualenv to support python 2.4:
+curl -O
+# 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
+install/bin/python2.4 ./ --distribute $VIRTENV

0 comments on commit 9c9d4bc

Please sign in to comment.