Virtualenv with Eclipse(Galileo) [英] Virtualenv with Eclipse (Galileo)

查看:112
本文介绍了Virtualenv with Eclipse(Galileo)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人有Eclipse(Galileo),PyDev和Virtualenv共同合作的方向?我正在试图运行Pinax,但是任何指令都是可以的。



我以为我有它(甚至博客除了最后一步 - 交互式调试),还有没有解决办法。我特别在OS X上,但任何答案都应该是足够的。这是迄今为止发现的最好的资源:



http://blog.vlku.com/index.php/2009/06/10/djangoeclipse-with-code-complete-screencast/

解决方案

我不同意为每个虚拟机创建和维护一个单独的工作空间的所有麻烦环境。



您需要做的是为每个virtualenv设置一个单独的解释器,并确保项目正在使用。



与您的标准解释器一样,如Python 2.5 ,Python 2.6 ,,Python 3.1 还将添加更多的 >我的Django网站我的酷项目我的其他酷项目 - 每个口译员将拥有所有的 PYTHONPATH 条目,因为它是virtualenv将提供的。


Does anybody have directions for getting Eclipse (Galileo), PyDev, and Virtualenv working together? I'm specifically trying to run Pinax but any instructions are fine.

I thought I had it (and even blogged everything but the final step - interactive debugging) and still there is no solution. I'm specifically on OS X but any answer should be sufficient. This is the best resource I've found so far:

http://blog.vlku.com/index.php/2009/06/10/djangoeclipse-with-code-complete-screencast/

解决方案

I'd disagree with having to go through all the hassle of creating and maintaining a separate workspace for every virtual environment.

All you need to do is set up a separate interpreter per virtualenv and make sure the project is using it.

Along with your standard interpreters such as Python 2.5, Python 2.6, Python 3.1 you'll also add some more along the lines My Django Website, My Cool Project, My Other Cool Project--where each interpreter will have all the PYTHONPATH entries as it's virtualenv would provide.

这篇关于Virtualenv with Eclipse(Galileo)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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