blob: 7c63b2ce9cfb1f241ef09820716cb7cafbf6dc30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
set -e
set -x
if test -n "$PY"; then
# https://github.com/pycurl/pycurl/blob/master/tests/travis/setup.sh
sudo add-apt-repository -y ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python$PY-dev
if test "$PY" = 2.5; then
wget -O - http://python-distribute.org/distribute_setup.py | sudo python$PY
sudo easy_install-$PY simplejson
fi
fi
|