option to set pep8 and pylint paths, and/or use a virtualenv

331 views
Skip to first unread message

Mark Mikofski

unread,
Jun 20, 2012, 1:16:21 AM6/20/12
to spyd...@googlegroups.com
This is a hodge-podge of ideas, my apologies for lumping them together.
1. Has anyone considered adding options to the code-analysis and Pylint pages to let the user select the path to the pep8 and pylint modules the user wants to use, e.g. if they are in a virtualenv or some alternate folder, in the situation where a user has more than one version of pep8 or pylint installed.
2. Include a local version of pep8 and pylint inside spyderlib.
3. let user select the virtualenv they want to use, similar to PyDev.

Steve

unread,
Jun 20, 2012, 2:45:29 PM6/20/12
to spyd...@googlegroups.com
What's a virtualenv?  I haven't used PyDev.. That's a plugin for eclipse, right?

Carlos Córdoba

unread,
Jun 21, 2012, 9:26:20 AM6/21/12
to spyd...@googlegroups.com
A virtualenv Python app used to create isolated Python installations where you can install/update new packages or different versions from the ones found on your system Python.

I think it's mostly used on Linux and Mac, because it's much easier to use with a bash extension called virtualenvwrapper.

Cheers,
Carlos

El 20/06/12 13:45, Steve escribió:
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spyderlib/-/xG-BXf44Xz8J.
To post to this group, send email to spyd...@googlegroups.com.
To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.

Carlos Córdoba

unread,
Jun 21, 2012, 9:33:05 AM6/21/12
to spyd...@googlegroups.com
Hi Mark,

My answers are below

El 20/06/12 00:16, Mark Mikofski escribió:
> This is a hodge-podge of ideas, my apologies for lumping them together.
> 1. Has anyone considered adding options to the code-analysis and
> Pylint pages to let the user select the path to the pep8 and pylint
> modules the user wants to use, e.g. if they are in a virtualenv or
> some alternate folder, in the situation where a user has more than one
> version of pep8 or pylint installed.

Seems to much specialized for us, but you're welcome to send us a patch :-)

> 2. Include a local version of pep8 and pylint inside spyderlib.

I think there is a local version of pep8 and pyflakes, but they are used
only if you run Spyder from source

> 3. let user select the virtualenv they want to use, similar to PyDev.

You can select the Python interpreter you want to use under Tools >
Preferences > Console > Advanced Settings > Python Executable. It could
be made a bit easier (giving the user a list of venvs to select) but
that's all we got for now :-)

Cheers,
Carlos

> --
> You received this message because you are subscribed to the Google
> Groups "spyder" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/spyderlib/-/1NJBXRQ8BpAJ.
Reply all
Reply to author
Forward
0 new messages