9
9
# remove others to expedite build and reduce docker image size. The original
10
10
# manylinux docker image project builds many python versions.
11
11
# NOTE We added back 3.5.1, since auditwheel requires python 3.3+
12
- CPYTHON_VERSIONS=" 2 .7.11 3.5.1"
12
+ CPYTHON_VERSIONS=" 3 .7.0 3.6.0 3. 5.1 2.7.11 "
13
13
14
14
# openssl version to build, with expected sha256 hash of .tar.gz
15
15
# archive
@@ -25,7 +25,7 @@ AUTOCONF_HASH=954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969
25
25
26
26
# Dependencies for compiling Python that we want to remove from
27
27
# the final image after compiling Python
28
- PYTHON_COMPILE_DEPS=" zlib-devel bzip2-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel"
28
+ PYTHON_COMPILE_DEPS=" zlib-devel bzip2-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-dev "
29
29
30
30
# Libraries that are allowed as part of the manylinux1 profile
31
31
MANYLINUX1_DEPS=" glibc-devel libstdc++-devel glib2-devel libX11-devel libXext-devel libXrender-devel mesa-libGL-devel libICE-devel libSM-devel ncurses-devel freetype-devel libpng-devel"
@@ -77,11 +77,13 @@ mkdir -p /opt/python
77
77
build_cpythons $CPYTHON_VERSIONS
78
78
79
79
PY35_BIN=/opt/python/cp35-cp35m/bin
80
+ PY36_BIN=/opt/python/cp36-cp36m/bin
81
+ PY37_BIN=/opt/python/cp37-cp37m/bin
80
82
# NOTE Since our custom manylinux image builds pythons with shared
81
83
# libpython, we need to add libpython's dir to LD_LIBRARY_PATH before running
82
84
# python.
83
85
ORIGINAL_LD_LIBRARY_PATH=" ${LD_LIBRARY_PATH} "
84
- LD_LIBRARY_PATH=" ${ORIGINAL_LD_LIBRARY_PATH} :$( dirname ${PY35_BIN} ) /lib"
86
+ LD_LIBRARY_PATH=" ${ORIGINAL_LD_LIBRARY_PATH} :$( dirname ${PY35_BIN} ) /lib: $( dirname ${PY36_BIN} ) /lib: $( dirname ${PY37_BIN} ) /lib "
85
87
86
88
# Our openssl doesn't know how to find the system CA trust store
87
89
# (https://github.com/pypa/manylinux/issues/53)
0 commit comments