|
|
|
@ -234,9 +234,10 @@ internal_install_python_deps() { |
|
|
|
|
sudo apt-get install -y python-software-properties # for apt-add-repository |
|
|
|
|
sudo apt-add-repository -y ppa:fkrull/deadsnakes |
|
|
|
|
sudo apt-get update -qq |
|
|
|
|
sudo apt-get install -y python2.6 python2.6-dev |
|
|
|
|
sudo apt-get install -y python3.3 python3.3-dev |
|
|
|
|
sudo apt-get install -y python3.4 python3.4-dev |
|
|
|
|
sudo apt-get install -y python3.5 python3.5-dev |
|
|
|
|
sudo apt-get install -y python3.6 python3.6-dev |
|
|
|
|
fi |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -278,7 +279,7 @@ build_python() { |
|
|
|
|
cd python |
|
|
|
|
# Only test Python 2.6/3.x on Linux |
|
|
|
|
if [ $(uname -s) == "Linux" ]; then |
|
|
|
|
envlist=py\{26,27,33,34\}-python |
|
|
|
|
envlist=py\{27,33,34,35,36\}-python |
|
|
|
|
else |
|
|
|
|
envlist=py27-python |
|
|
|
|
fi |
|
|
|
@ -292,9 +293,9 @@ build_python_cpp() { |
|
|
|
|
export LD_LIBRARY_PATH=../src/.libs # for Linux |
|
|
|
|
export DYLD_LIBRARY_PATH=../src/.libs # for OS X |
|
|
|
|
cd python |
|
|
|
|
# Only test Python 2.6/3.x on Linux |
|
|
|
|
# Only test Python 3.x on Linux |
|
|
|
|
if [ $(uname -s) == "Linux" ]; then |
|
|
|
|
envlist=py\{26,27,33,34\}-cpp |
|
|
|
|
envlist=py\{27,33,34,35,36\}-cpp |
|
|
|
|
else |
|
|
|
|
envlist=py27-cpp |
|
|
|
|
fi |
|
|
|
|