File tree Expand file tree Collapse file tree
tools/dockerfile/build_scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,9 +83,6 @@ function do_cpython_build {
8383 rm -rf Python-$py_ver
8484 # Some python's install as bin/python3. Make them available as
8585 # bin/python.
86- if [ -e ${prefix} /bin/python3.8 ]; then
87- ln -s python3.8 ${prefix} /bin/python
88- fi
8986 if [ -e ${prefix} /bin/python3.9 ]; then
9087 ln -s python3.9 ${prefix} /bin/python
9188 fi
@@ -98,6 +95,12 @@ function do_cpython_build {
9895 if [ -e ${prefix} /bin/python3.12 ]; then
9996 ln -s python3.12 ${prefix} /bin/python
10097 fi
98+ if [ -e ${prefix} /bin/python3.13 ]; then
99+ ln -s python3.13 ${prefix} /bin/python
100+ fi
101+ if [ -e ${prefix} /bin/python3.13t ]; then
102+ ln -s python3.13t ${prefix} /bin/python
103+ fi
101104 # NOTE Make libpython shared library visible to python calls below
102105 if [ -e ${prefix} /bin/python3.10 ] || [ -e ${prefix} /bin/python3.11 ] || [ -e ${prefix} /bin/python3.12 ]; then
103106 LD_LIBRARY_PATH=" /usr/local/ssl/lib:${prefix} /lib" ${prefix} /bin/python -m pip config set global.trusted-host mirrors.aliyun.com
You can’t perform that action at this time.
0 commit comments