用emacs安装pymacs的明确步骤24? [英] Clear steps to install pymacs with emacs 24?

查看:121
本文介绍了用emacs安装pymacs的明确步骤24?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用python在emacs中进行自动完成和重构。



我收集,我需要绳子来做到这一点。为了做到这一点与emacs,我需要ropemacs。 Ropmacs取决于pymacs。



Pymacs很难安装,或者至少我的说明不清楚。



我需要做两件事吗?安装pymacs,然后安装一个告诉emacs与pymacs通话的文件?我已经很容易地安装了绳索和ropemacs,



pip install rope ropemacs



这是我做的:

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

这个安装在mac os x山上狮子根据PIP。



但我有一种感觉,我没有完成 - 还是我?



如何测试pymacs和绳索和ropemacs都在工作?

解决方案

我认为最简单的方法来安装ropemacs是使用获取 Mx el-get-install ropemacs 。它安装和构建Pymacs,绳索和ropemacs。我知道它适用于Linux。有关更多信息,请参阅el-get文档。 (免责声明:我写了安装配方,所以很明显我偏向于我的解决方案)



与使用pip的解决方案的区别在于它设置Emacs端的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?

解决方案

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.

这篇关于用emacs安装pymacs的明确步骤24?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆