Skip to content

Commit

Permalink
Update Python version in bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
blechschmidt committed Oct 14, 2023
1 parent 88a0027 commit fc7bc2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ test "$INSTALL" = "1" && {
set +e
DEBIAN_FRONTEND=noninteractive apt -y install g++-multilib
set -e
wget -c https://www.python.org/ftp/python/3.10.0/Python-3.10.0.tar.xz
tar -Jxf Python-3.10.0.tar.xz
wget -c https://www.python.org/ftp/python/3.10.13/Python-3.10.13.tar.xz
tar -Jxf Python-3.10.13.tar.xz
wget -c https://www.openssl.org/source/openssl-1.1.1o.tar.gz
tar -xf openssl-1.1.1o.tar.gz
cd openssl-1.1.1o || exit 1
Expand All @@ -196,11 +196,11 @@ test "$INSTALL" = "1" && {
make -j 32
make install_sw
cd ..
cd Python-3.10.0/ || exit 1
cd Python-3.10.13/ || exit 1
./configure --enable-optimizations --with-openssl=/usr/local/custom-openssl --with-openssl-rpath=auto --enable-shared
make -j 32 install
cd ..
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/pallium/dist/Python-3.10.0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/pallium/dist/Python-3.10.13
update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.10 1
python3 -m pip install pyinstaller
python3 -m pip install ..
Expand Down

0 comments on commit fc7bc2a

Please sign in to comment.