8000 Merge pull request #431 from njsmith/fix-travis-py24-build · numpy/numpy@b6a1acd · GitHub
[go: up one dir, main page]

Skip to content

Commit b6a1acd

Browse files
committed
Merge pull request #431 from njsmith/fix-travis-py24-build
FIX: use py24-compatible version of virtualenv on Travis
2 parents 6315567 + 9c9d4bc commit b6a1acd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.travis-make-py24-virtualenv.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,11 @@ EOF
1515
./configure --prefix=$PWD/install
1616
make
1717
make install
18-
virtualenv -p install/bin/python2.4 --distribute $VIRTENV
18+
# This is the last version of virtualenv to support python 2.4:
19+
curl -O https://raw.github.com/pypa/virtualenv/1.7.2/virtualenv.py
20+
# And this is the last version of pip to support python 2.4. If
21+
# there's a file matching "^pip-.*(zip|tar.gz|tar.bz2|tgz|tbz)$" in
22+
# the current directory then virtualenv will take that as the pip
23+
# source distribution to install
24+
curl -O http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz
25+
install/bin/python2.4 ./virtualenv.py --distribute $VIRTENV

0 commit comments

Comments
 (0)
0