mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 14:08:07 +00:00
Upgrade Python to v3.7.8
This commit is contained in:
parent
c06534194a
commit
b36efea002
|
@ -104,7 +104,7 @@ $TORIFY apt-get -y install libgmp-dev automake libtool libltdl-dev libltdl7
|
|||
$TORIFY apt-get -y install xorg chromium openbox lightdm openjdk-11-jre libevent-dev ncurses-dev
|
||||
$TORIFY apt-get -y install libudev-dev libusb-1.0-0-dev python3-venv gunicorn sqlite3 libsqlite3-dev
|
||||
$TORIFY apt-get -y install torsocks python3-requests libsystemd-dev libjpeg-dev zlib1g-dev psmisc
|
||||
$TORIFY apt-get -y install hexyl
|
||||
$TORIFY apt-get -y install hexyl libbz2-dev
|
||||
|
||||
# Make sure some software is removed
|
||||
apt-get -y purge ntp # (conflicts with systemd-timedatectl)
|
||||
|
@ -124,7 +124,7 @@ pip2 install tzupdate virtualenv pysocks redis qrcode image --no-cache-dir
|
|||
|
||||
|
||||
# Update Python3 to 3.7.X
|
||||
PYTHON_VERSION=3.7.7
|
||||
PYTHON_VERSION=3.7.8
|
||||
CURRENT_PYTHON3_VERSION=$(python3 --version)
|
||||
if [[ "$CURRENT_PYTHON3_VERSION" != *"Python ${PYTHON_VERSION}"* ]]; then
|
||||
mkdir -p /opt/download
|
||||
|
|
|
@ -168,7 +168,7 @@ apt -y -qq install apt-transport-https ca-certificates
|
|||
apt-get -y install xorg chromium openbox lightdm openjdk-11-jre libevent-dev ncurses-dev
|
||||
apt-get -y install zlib1g-dev libudev-dev libusb-1.0-0-dev python3-venv gunicorn
|
||||
apt-get -y install sqlite3 libsqlite3-dev torsocks python3-requests libsystemd-dev
|
||||
apt-get -y install libjpeg-dev zlib1g-dev psmisc hexyl
|
||||
apt-get -y install libjpeg-dev zlib1g-dev psmisc hexyl libbz2-dev
|
||||
|
||||
|
||||
# Make sure some software is removed
|
||||
|
@ -206,7 +206,7 @@ pip2 install tzupdate virtualenv pysocks redis qrcode image
|
|||
|
||||
|
||||
# Update Python3 to 3.7.X
|
||||
PYTHON_VERSION=3.7.7
|
||||
PYTHON_VERSION=3.7.8
|
||||
CURRENT_PYTHON3_VERSION=$(python3 --version)
|
||||
if [[ "$CURRENT_PYTHON3_VERSION" != *"Python ${PYTHON_VERSION}"* ]]; then
|
||||
mkdir -p /opt/download
|
||||
|
|
Loading…
Reference in New Issue
Block a user