Update README.macOS.bash
1, upgrade to Python 3
2, remove golang section, it's not needed and the dep or GOPATH are
deprecated
3, remove gdb, it's way too difficult to enable it on macOS, just use
the system built-in lldb
@@ -24,20 +24,14 @@ brew install pkg-config
brew link --force apr
brew link --force apr-util
-# Installing Golang
-mkdir -p ~/go/src
-brew install go # Or get the latest from https://golang.org/dl/
-brew install dep
-
# Installing python libraries
-brew install python2
-pip install --user -r python-dependencies.txt
-pip install --user -r python-developer-dependencies.txt
+brew install python3
+pip3 install --user -r python-dependencies.txt
+pip3 install --user -r python-developer-dependencies.txt
#echo -e "127.0.0.1\t$HOSTNAME" | sudo tee -a /etc/hosts
echo 127.0.0.1$'\t'$HOSTNAME | sudo tee -a /etc/hosts
-
# OS settings
sudo sysctl -w kern.sysv.shmmax=2147483648
sudo sysctl -w kern.sysv.shmmin=1
@@ -80,12 +74,3 @@ cat >> ~/.bashrc << EOF
ulimit -n 65536 65536 # Increases the number of open files
export PGHOST="$(hostname)"
EOF
-
-# Step: GOPATH for Golang
-cat >> ~/.bash_profile << EOF
-export GOPATH=\$HOME/go
-export PATH=\$HOME/go/bin:\$PATH
-EOF
-
-# Step: install any optional tools
-brew install gdb
