Hello people,
I hope my experience may be relevant here. I'm using PyDev1.5 in
Eclipse3.4 with Python2.5 on XP. I am using a TG2.0 virtualenv co-
located in the same directory that I am using as my Eclipse workspace
(ie. 'C:\PyWork'.)  I initially thought the two might conflict and
kept the two separate and copied across.  But now they are both
working in my PyWork folder, apparently without interfering. I removed
the interpreter at C:\Python25 from Window > Preferences > PyDev >
Interpreter - Python and added the interpreter created by virtualenv
at C:\PyWork\Scripts (again hitting [Apply] afterwards.)

Note however, that it seemed to also be necessary to add folders like
"C:\Python25\..." for certain things that were part of my Python setup
pre-TG like lib-tk, setuptools, pil, virtualenv, win32(Mark Hammonds
extensions?) etc. and also for some reason sqlalchemy wouldn't import
until I checked the box for the sqlalchemy egg under c:\python25\lib
\site-packages.

So now with 'paster serve --reload development.ini' running in a cmd
window, I hit [Save] in Eclipse and the TG app restarts (if paster
feels like it ;)

All the dependencies that TG installed in C:\PyWork\Lib\site-packages
are accessible w/ ctrl-click and I get code-completion and parameter
tips. Yay !-)

Now with PyDev1.5 merged w/ Extensions, I can step-through code in
Eclipse.  The only thing I haven't worked out is how to stop at
breakpoints in my controller code when paster is serving up my front
end.  Ideas anyone?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to