Skip to content

Commit 89bc0b9

Browse files
author
Doug Greiman
committed
Update from Python 3.5.2 to 3.5.3
1 parent 25de730 commit 89bc0b9

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

python-interpreter-builder/scripts/build-python-3.5.sh

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ set -euo pipefail
55
# Get the source
66
mkdir -p /opt/sources
77
cd /opt/sources
8-
wget --no-verbose https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
8+
wget --no-verbose https://www.python.org/ftp/python/3.5.3/Python-3.5.3.tgz
9+
# SHA-256 generated via `shasum -a 256 [file]`
910
shasum --check <<EOF
10-
1524b840e42cf3b909e8f8df67c1724012c7dc7f9d076d4feef2d3eff031e8a0 Python-3.5.2.tgz
11+
d8890b84d773cd7059e597dbefa510340de8336ec9b9e9032bf030f19291565a Python-3.5.3.tgz
1112
EOF
12-
tar xzf Python-3.5.2.tgz
13+
tar xzf Python-3.5.3.tgz
1314

1415
# Build
15-
cd Python-3.5.2
16+
cd Python-3.5.3
1617

1718
# Explanation of flags:
1819
#
@@ -94,10 +95,11 @@ cd Python-3.5.2
9495
# python interpreters. For example:
9596
# docker run -it --entrypoint=/opt/python3.5/bin/python3.5 google/python/interpreter-builder -c 'import sysconfig;print("\n".join("%s:%s"%(key,value) for key,value in sorted(sysconfig.get_config_vars().items())))'
9697

97-
mkdir build
98-
cd build
98+
mkdir build-static
99+
cd build-static
100+
99101
../configure \
100-
--build=x86_64-pc-linux-gnu\
102+
--build=x86_64-pc-linux-gnu \
101103
--enable-ipv6 \
102104
--enable-loadable-sqlite-extensions \
103105
--enable-optimizations \
@@ -131,5 +133,5 @@ make altinstall
131133

132134
# Clean-up sources
133135
cd /
134-
rm /opt/sources/Python-3.5.2.tgz
135-
rm -r /opt/sources/Python-3.5.2
136+
rm /opt/sources/Python-3.5.3.tgz
137+
rm -r /opt/sources/Python-3.5.3

0 commit comments

Comments
 (0)