Bump up the env_builder.sh to 2.7.9
The latest python 2.x release is 2.7.9 and not 2.7.7 so when people are using this script to build a useful environment (that is lacking py2.7) use this newer version instead. Change-Id: I2fdd035e0b4efcacd6ef2da04d6cd8a56dcca512
This commit is contained in:
parent
19f9674877
commit
6a6b50fb6c
@ -57,18 +57,19 @@ cd $build_dir
|
|||||||
|
|
||||||
# Get python 2.7 installed (if it's not).
|
# Get python 2.7 installed (if it's not).
|
||||||
if [ -z "$python_27" ]; then
|
if [ -z "$python_27" ]; then
|
||||||
py_file="Python-2.7.7.tgz"
|
py_version="2.7.9"
|
||||||
|
py_file="Python-$py_version.tgz"
|
||||||
py_base_file=${py_file%.*}
|
py_base_file=${py_file%.*}
|
||||||
py_url="https://www.python.org/ftp/python/2.7.7/$py_file"
|
py_url="https://www.python.org/ftp/python/$py_version/$py_file"
|
||||||
|
|
||||||
Box "Building python 2.7..."
|
Box "Building python 2.7 (version $py_version)..."
|
||||||
wget $py_url -O "$build_dir/$py_file" --no-check-certificate -nv
|
wget $py_url -O "$build_dir/$py_file" --no-check-certificate -nv
|
||||||
tar -xf "$py_file"
|
tar -xf "$py_file"
|
||||||
cd $build_dir/$py_base_file
|
cd $build_dir/$py_base_file
|
||||||
./configure --disable-ipv6 -q
|
./configure --disable-ipv6 -q
|
||||||
make --quiet
|
make --quiet
|
||||||
|
|
||||||
Box "Installing python 2.7..."
|
Box "Installing python 2.7 (version $py_version)..."
|
||||||
make altinstall >/dev/null 2>&1
|
make altinstall >/dev/null 2>&1
|
||||||
python_27=/usr/local/bin/python2.7
|
python_27=/usr/local/bin/python2.7
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user