Skip to content

Commit

Permalink
Drop Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Menci committed Jul 24, 2022
1 parent 047410b commit e9cc8f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ This is the sandbox's rootfs used by [lyrio-judge](https://github.com/lyrio-dev/
* Kotlin (from [SDKMAN!](https://kotlinlang.org/docs/tutorials/command-line.html))
* Free Pascal 3
* Python 2.7
* Python 3.6 (with [Pyenv](https://github.com/pyenv/pyenv), built from source)
* Python 3.9
* Python 3.10
* Swift (from [Swift.org](https://swift.org/))
Expand Down
11 changes: 0 additions & 11 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,6 @@ apt-get install -y g++-$GCC_VERSION-multilib \
mono-devel \
fsharp

# Install Python 3.6 via Pyenv
su sandbox -c 'curl https://pyenv.run | bash'
apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev \
libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev libgdbm-dev libnss3-dev libedit-dev libc6-dev
function install_python_pyenv() {
FULL_VERSION="$(su sandbox -c "/sandbox/.pyenv/bin/pyenv install --list" | sed -nE "s/^ ($(echo "$1" | sed 's/\./\\./')\.[0-9]+)$/\1/p" | tail -n 1)"
su sandbox -c "/sandbox/.pyenv/bin/pyenv install $FULL_VERSION"
ln -sf "/sandbox/.pyenv/versions/$FULL_VERSION/bin/python" "/usr/local/bin/python$1"
}
install_python_pyenv 3.6

# Install Rust via Rustup
su sandbox -c "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"

Expand Down

0 comments on commit e9cc8f5

Please sign in to comment.