Skip to content

Commit

Permalink
Update netlify.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tiennm99 committed May 3, 2024
1 parent 117fff2 commit 3edeef5
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
[build]
command = """
sudo apt-get update
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
curl https://pyenv.run | bash
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.profile
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.profile
echo 'eval "$(pyenv init -)"' >> ~/.profile
exec "$SHELL"
pyenv install 3.12.2
pyenv global 3.12.2
Expand Down

0 comments on commit 3edeef5

Please sign in to comment.