Use environment variable in PyDev Eclipse project file

此生再无相见时 提交于 2019-12-03 12:50:43

Actually, right now what you can do is use a string substitution there and then set it in the interpreter you're using (In window > preferences > pydev > interpreter - python > string substitution variables) -- that way you can have different variables per interpreter... which IMO is better than having it globally.

A nice example of that would be having an interpreter compiled for 64 bits and another for 32 and could configure the pythonpath for the project differently depending on the interpreter being used -- so, you could have dlls compiled for 64 in one folder and for 32 in another.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!