Source

dotfiles / setup_rope.sh

#! /usr/bin/env bash

set -e -u -x

EMACS_D=$PWD/emacs.d
ROPEEMACS_PKG="$PWD/pkg/agr-ropeemacs-7af544334b85.tar.gz"
ROPEEMACS_D=$PWD/pkg/Rope

ROPEMODE_D=$PWD/pkg/ropemode-0.1-rc2
ROPE_EL=$PWD/pkg/Rope/rope.el

mkdir -p pkg

#brew install rope

pushd $ROPEMODE_D
python setup.py install
popd

if [ ! -d $ROPEEMACS_D ]; then
    echo "Alternatively unpack pkg/rope.tar.gz as $ROPEEMACS_D"
    hg clone https://bitbucket.org/agr/ropemacs $ROPEEMACS_D
else
    echo "Already cloned hg repo Rope..."
fi

pushd $ROPEEMACS_D
python setup.py install
popd