#!/bin/sh
#
# Description: installs python and python packages

if [ ! -x /usr/local/bin/brew ]; then
  echo "ERROR: Homebrew must be installed to run the python.sh installer script"
  exit 1
fi

if [ ! -x /usr/local/bin/python ]; then	
  echo "Installing python..."
  brew install python --framework --with-brewed-openssl
fi

echo "Current python: `which python`"

echo "Installing python packages..."
pip2 install --user neovim

if [ -x $CONFIGS_DIR/python_local.sh ]; then
  $CONFIGS_DIR/python_local.sh			
fi

exit 0

#!/bin/sh
#
# Description: installs python and python packages

if [ ! -x /usr/local/bin/brew ]; then
  echo "ERROR: Homebrew must be installed to run the python.sh installer script"
  exit 1
fi

if [ ! -x /usr/local/bin/python ]; then	
  echo "Installing python..."
  brew install python --framework --with-brewed-openssl
fi

echo "Current python: `which python`"

echo "Installing python packages..."
pip2 install --user neovim
pip install beets

if [ -x $CONFIGS_DIR/python_local.sh ]; then
  $CONFIGS_DIR/python_local.sh			
fi

exit 0

Add beets music library manager
Add beets music library manager
