Re: [Pydev-code] inconsistent pythonpaths

2011-04-28 Thread Fabio Zadrozny
I believe you installed things with easy-install, right? It seems that the easy-install.pth adds those for you regardless of what PyDev will pass as the PYTHONPATH (that's something PyDev can't control). A better way for you might be using virtualenv (http://pypi.python.org/pypi/virtualenv), wher

Re: [Pydev-code] Web2py helper: Adding imports and parsing models with jython scripting

2011-04-28 Thread Fabio Zadrozny
On Thu, Apr 28, 2011 at 10:18 AM, Álvaro J. Iradier wrote: > That might work for predefined classes or items, like "request", > "response", "session"..., but I want to go further. I want to > dinamically parse the files in models/, which define some variables > and functions, and I want to make th

Re: [Pydev-code] Web2py helper: Adding imports and parsing models with jython scripting

2011-04-28 Thread Álvaro J . Iradier
That might work for predefined classes or items, like "request", "response", "session"..., but I want to go further. I want to dinamically parse the files in models/, which define some variables and functions, and I want to make those available too. Is it possible to get this far using the jython

Re: [Pydev-code] Web2py helper: Adding imports and parsing models with jython scripting

2011-04-28 Thread Fabio Zadrozny
Might be easier providing predefined completions (i.e.: generating python stub code for web2py -- you can create a Python script that loads the environment and extracts info as needed). See: http://pydev.org/manual_101_interpreter.html#id2 for details An example script that converts QScintilla .a

[Pydev-code] Web2py helper: Adding imports and parsing models with jython scripting

2011-04-28 Thread Álvaro J . Iradier
Hi all, I'm trying to make a Jython Script for Pydev for better integration with web2py development. Basically, I need some way to access the python interpreter that is used for syntax check and code completion from the jython script. What I would like to do is, when a .py file for a web2py proj