forked from colonelpanic/dotfiles
Get rid of tasks.sh Bump emacs.d for emacs jedi stuff
This commit is contained in:
Submodule dotfiles/emacs.d updated: bb1807256f...251dbaed92
@@ -1,53 +0,0 @@
|
||||
function install_python_packages() {
|
||||
easy_install pip
|
||||
ESSENTIAL=(ipdb ipython virtualenv)
|
||||
FOR_EDITOR=(jedi pyflakes)
|
||||
USEFUL=(
|
||||
Flask
|
||||
ddg
|
||||
ouimeaux
|
||||
readline
|
||||
simplejson
|
||||
tox
|
||||
numpy
|
||||
)
|
||||
OPTIND=1
|
||||
while getopts "uea" OPTCHAR;
|
||||
do
|
||||
case $OPTCHAR in
|
||||
u)
|
||||
sudo pip install $USEFUL
|
||||
;;
|
||||
e)
|
||||
sudo pip install $FOR_EDITOR
|
||||
;;
|
||||
a)
|
||||
sudo pip install $FOR_EDITOR
|
||||
sudo pip install $USEFUL
|
||||
install_pygame
|
||||
install_powerline
|
||||
;;
|
||||
h)
|
||||
echo "
|
||||
-u Install useful but non essential python.
|
||||
-e Install editor python packages.
|
||||
-a Install all python utilities."
|
||||
;;
|
||||
esac
|
||||
done
|
||||
sudo pip install $ESSENTIAL
|
||||
}
|
||||
|
||||
function install_pygame() {
|
||||
sudo pip install numpy
|
||||
brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
|
||||
/usr/local/share/python/pip install hg+http://bitbucket.org/pygame/pygame
|
||||
}
|
||||
|
||||
function install_powerline() {
|
||||
hash pip 2>/dev/null || sudo easy_install pip
|
||||
if test -z $(pip show Powerline | grep Location | awk '{print $2}');
|
||||
then
|
||||
sudo pip install --user git+git://github.com/Lokaltog/powerline
|
||||
fi
|
||||
}
|
Reference in New Issue
Block a user