2011/11/5 Carlos Córdoba <[email protected]>:
>
> I'm sorry to contradict Anatoly, but Spyder has support for virtualenv.

Not really a contradiction. I searched the source and couldn't find any
references. If we support virtualenv's, this should be mentioned
somewhere.

> You can go to:
>
> Tools > Preferences > Console > Advanced Settings > Python Executable
>
> and there you can select the path to the python interpreter of your
> virtualenv, e.g something like:
>
> /home/carlos/.virtualenvs/visual/bin/python
>
> if you use virtualenvwrapper as me. After this, you have to click in:
>
> Tools > Update module names list
>
> to update a little database we maintain of the module names in your
> PYTHOPATH, so they can be TAB-completed.

I see. I thought `virtualenv` should be activated prior to calling
Python, but it seems like interpreter from `virtualenv` directory will
use the appropriate environment automatically. Anyway, the option
seems to be global, not something project-specific.

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to