Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clear steps to install pymacs with emacs 24?

Tags:

emacs

rope

pymacs

I want autocompletion and refactoring in emacs with python.

I gather that I need rope to do this. To do this with emacs, I need ropemacs. Ropmacs depends on pymacs.

Pymacs is hard to install...or at least the instructions are not clear to me.

Do I need to do two things? Install pymacs and then install a file that tells emacs to talk to pymacs? I've already installed rope and ropemacs super easily, with

pip install rope ropemacs

Here's what I did:

pip install -e "git+https://github.com/pinard/Pymacs.git#egg=Pymacs"

This installs ok on mac os x mountain lion according to PIP.

But I have a feeling that I am not done--or am I?

How do I test to see if pymacs and rope and ropemacs are all working?

like image 915
user798719 Avatar asked Jun 22 '13 22:06

user798719


1 Answers

I think the easiest way to install ropemacs is to use el-get: M-x el-get-install ropemacs. It installs and build Pymacs, rope and ropemacs. I know that it works on Linux. See the el-get document for more information. (disclaimer: I wrote the installation recipe for el-get so obviously I am biased to my solution)

The difference from the solution using pip is that it setups the Emacs side of Pymacs correctly.

like image 135
tkf Avatar answered Sep 22 '22 18:09

tkf