helm/dev/python/install

18 lines
365 B
Plaintext
Raw Normal View History

2016-10-19 07:56:37 -07:00
#!/bin/bash
case "$OSTYPE" in
darwin*)
brew install pyenv
;;
linux*)
if [ ! -d "$HOME/.pyenv" ]; then
git clone https://github.com/yyuu/pyenv.git $HOME/.pyenv
fi
;;
esac
PWD=$(pwd -P)
mkdir -p $HOME/.config
[ -f "$HOME/.config/flake8" ] || ln -s "$PWD/dev/python/.config/flake8" "$HOME/.config/flake8"