Just figured that, you can use the same project folder you created
with spyder for Paster command.
so it won't look like pylons application inside a spyder project.

1) create a new project <newapp> in Spyder
2) paster create -t pylons <newapp>




On Oct 14, 11:11 pm, Soj <[email protected]> wrote:
> Hello Tim,
>
> Since I was planning to start my new project in pylons, I was trying
> to find a good IDE and tried PyDev only to run into problems you
> explained. There seems to be some inherent/mysterious problems with
> 'pydev + pylons' setup. (http://stackoverflow.com/questions/540538/
> pydev-and-pylons-inside-virtual-environment-auto-completion-wont-work)
>
> After some googling, got a hook on 'Spyderlib', its a really amazing
> IDE.
>
> Here are the steps to if you want to try.
>
> On Ubuntu:-
>
> 1)http://code.google.com/p/spyderlib/wiki/Installation
>
> 2) sudo apt-get install python-qt4
> 3) sudo apt-get install python-qscintilla2
> 4) sudo apt-get install pyflakes
> 5) sudo apt-get install python-rope
>
> 6) Download "spyder-2.0.0beta5.tar.gz" 
> fromhttp://code.google.com/p/spyderlib/downloads/list
>
> 7) unzip/untar
> 8) python setup.py install
> 9) chmod 777 *
> 10) ./spyder
>
> ------------------------------------
> To create Pylons project
> (work around, but its kinda perfect)
> ------------------------------------
>
> 1) File -> 'New project' and create one
> 2) Go to this new directory in command line and use 'paster create -t
> pylons <project name>
> 3) Basically you are creating a pylons project inside a spider
> project.
> 4) Tools -> PYTHONPATH manager
> 5) Add all the pylons extensions egg path from your virtualenv - if
> you have any - (Beaker, decorator, FormEncode, Pylons, Mako,
> PasteScript, Routes, WebError etc...)
> Eg:- <homedir>virtualenv/lib/python2.6/site-packages/Pylons-1.0-
> py2.6.egg
>
> ------------------
> Few customizations
> ------------------
> 1) Tools -> preferences -> Editor -> Code Introspection/Analysis
> 2) Check everything.
> 3) View -> Select run toolbar
>
> Its still in beta and under very active development.
>
> Explore and enjoy!!!
> -soj
>
> On Oct 11, 12:47 pm, Tim <[email protected]> wrote:
>
>
>
> > Hello,
>
> >     Does anyone here use PyDev with Pylons? Or know of a good setup
> > guide for it? I'm running into some issues with it, mainly in that I
> > receive a number of Unresolved Import errors even though my
> > interpreter seems to be setup correctly. In fact, I'm oddly mostly
> > having problems with it not resolving core python libraries, such as
> > logging and inspect.
>
> > Thanks!
> > Tim

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to