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 d01354e commit fcacdcc253432c460d92dfaa7f216f7652944d88 @njsmith njsmith committed with certik 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 fcacdcc

Please sign in to comment.