Hi Dan,

I'm sorry to contradict Anatoly, but Spyder has support for virtualenv. 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.


A project in Spyder is a tree-like view of your sources dir and saves some setting as your preferred PYTHONPATH for it. In version 2.1 it can also let you import and existing dir.

Please let us know if you need any additional help.

Cheers,
Carlos

El 03/11/11 09:32, Dan Connolly escribió:
I ran across spyder recently, and the combination of features looks
pretty nifty.
   http://code.google.com/p/spyderlib/wiki/Features

In particular, code completion.

I have an existing python project, maintained with the usual setup.py
and virtualenv.
   http://informatics.kumc.edu/work/browser/raven-j

How can I use Spyder to edit it with code completion?

The project explorer docs say it can "import from existing Pydev
(Eclipse) or Spyder projects."
  http://packages.python.org/spyder/projectexplorer.html

But I don't have an existing pydev or spyder project; so what do I do?

What does File/New Project do? Is that only for completely new
projects, or can I use
it to start working with my sources?

How does the PYTHONPATH manager relate to virtualenv?

p.s. I'm on freenode in #swig as DanC. If any other spyder users are
on freenode
and available to hold my hand a bit, please suggest a channel where we
can chat.

--
Dan Connolly, KUMC Medical Informatics http://informatics.kumc.edu/
913-945-6741


--
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