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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With