File tree Expand file tree Collapse file tree 4 files changed +29
-13
lines changed Expand file tree Collapse file tree 4 files changed +29
-13
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ A simple `bash` script to install the `pyenv-buildtools` required for `pyenv` se
3
3
### Usage:
4
4
***
5
5
#### Clone the repo:
6
- - git clone https://github.com/defirence/pyenv-buildtools-script.git
6
+ - ` git clone https://github.com/defirence/pyenv-buildtools-script.git `
7
7
#### Set the script to be executable.
8
- - chmod +x ./install-python-buildenv.sh
8
+ - ` chmod +x ./install-python-buildenv.sh `
9
9
#### Run the script:
10
- - ./install-python-buildenv.sh
11
- ***
10
+ - ` ./install-python-buildenv.sh `
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env/zsh #!/usr/bin/env/bash #!/usr/bin/env/sh
2
+ printf " \e[1;36m[INIT]\e[0m Installing python-buildenv tools for pyenv... \n "
3
+ printf " \e[1;32m[TASK - brew]\e[0m Updating packages using brew update... \n "
4
+ brew update
5
+ printf " \e[1;32m[INFO - xcode]\e[0m Installing Apple xcode CLI tools... \n "
6
+ xcode-select --install
7
+ printf " \e[1;33m[TASK - brew]\e[0m brew update complete, installing required packages... \n "
8
+ printf " If brew is not installed, please install it now: \n "
9
+ printf " https://brew.sh/installation \n "
10
+ printf " Installing make wget curl llvm openssl@1.1 openssl@3 zlib bzip2 libreadline-java sqlite3 ncurses xz python-tk@3.9 tcl-tk libxml2 libxmlsec1 \n "
11
+ brew install make wget curl llvm openssl@1.1 openssl@3 zlib bzip2 libreadline-java sqlite3 ncurses xz python-tk@3.9 tcl-tk libxml2 libxmlsec1
12
+ printf " \e[1;32m[INFO - brew]\e[0m Installation complete... Exiting. \n "
13
+ exit 0
Original file line number Diff line number Diff line change 1
- #! /usr/bin/env bash
2
- echo -e " \e[1;36m[INIT]\e[0m Installing python-buildenv tools for pyenv..."
3
- echo -e " \e[1;32m[INFO]\e[0m Updating apt packages using apt-get update -y"
4
- sudo apt-get update -y
5
- echo -e " \e[1;33m[TASK]\e[0m apt-get update of package cache complete, installing..."
6
- sudo apt-get install make build-essential libssl-dev zlib1g-dev \
7
- libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \
8
- libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev -y
9
- echo -e " \e[1;32m[INFO]\e[0m Installation complete."
1
+ #! /usr/bin/env/zsh #!/usr/bin/env/bash #!/usr/bin/env/sh
2
+ printf " \e[1;36m[INIT]\e[0m Installing python-buildenv tools for pyenv... \n "
3
+ printf " \e[1;32m[TASK - brew]\e[0m Updating packages using brew update... \n "
4
+ brew update
5
+ printf " \e[1;32m[INFO - xcode]\e[0m Installing Apple xcode CLI tools... \n "
6
+ xcode-select --install
7
+ printf " \e[1;33m[TASK - brew]\e[0m brew update complete, installing required packages... \n "
8
+ printf " If brew is not installed, please install it now: \n "
9
+ printf " https://brew.sh/installation \n "
10
+ printf " Installing make wget curl llvm openssl@1.1 openssl@3 zlib bzip2 libreadline-java sqlite3 ncurses xz python-tk@3.9 tcl-tk libxml2 libxmlsec1 \n "
11
+ brew install make wget curl llvm openssl@1.1 openssl@3 zlib bzip2 libreadline-java sqlite3 ncurses xz python-tk@3.9 tcl-tk libxml2 libxmlsec1
12
+ printf " \e[1;32m[INFO - brew]\e[0m Installation complete... Exiting. \n "
13
+ exit 0
You can’t perform that action at this time.
0 commit comments