[Eric] using eric4 to debug django project

Jake B otakuj462 at gmail.com
Sun Dec 30 16:42:59 GMT 2007


PyDev has this feature. When you make a new project, it automatically
configures your PYTHONPATH for that project. It also gives you a graphical
way of adding additional paths to PYTHONPATH, and configuring PYTHONPATH to
reference other projects in the workspace. This makes things much easier.
Perhaps I could put this in as a feature request.

Jake

On Dec 30, 2007 7:45 AM, Flavio Coelho <fccoelho at gmail.com> wrote:

> Hi Jake,
>
> As far as I know Eric does
> not adds project folders to the Python (though it would be an interesting feature)
>
> What I do in my development directories, when I want to import from a
> package sitting elsewhere (which I don't want to install globally), is to
> add a symlink to it to a directory where it will be visible to scripts
> wanting to import it.
>
> it is simple and it works for me without having to move or copy source
> files.
>
> Flávio
>
> On 12/29/07, Jake B < otakuj462 at gmail.com> wrote:
>
> > Hi,
> > I'm trying to use eric4 to debug a django project. To do this, I have
> > django checked out of svn, as well as my application files, and they are all
> > sharing the same workspace. I have directory structure that looks like this:
> >
> >
> > workspace_eric/
> >     django/
> >         bin/
> >         ...
> >         __init__.py
> >     fbproject/
> >         fbapp/
> >            __init__.py
> >            models.py
> >            urls.py
> >            views.py
> >         __init.py__
> >         manage.py
> >         settings.py
> >         urls.py
> >
> > Unfortunately, my modules in fbproject package cannot import my modules
> > in django package, so when I try to start the server by running
> > fbproject/manage.py, giving it the command line argument *runserver*,
> > and the working directory /home/jacob/workspace_eric, it throws an error. Is
> > eric supposed to configure my PYTHONPATH for me? If so, could anyone please
> > let me know what I'm missing?
> > Thanks.
> >
> > Jake
> >
> > _______________________________________________
> > Eric mailing list
> > Eric at riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/eric
> >
> >
>
>
> --
> Flávio Codeço Coelho
> ----------------------------------------------------------------
> "My grandfather once told me that there were two kinds of people: those
> who do the work and those who take the credit. He told me to try to be in
> the first group; there was much less competition."
> Indira Gandhi
> ====================================
> registered Linux user # 386432
> get counted at http://counter.li.org
> ----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/eric/attachments/20071230/f9590d78/attachment-0001.html


More information about the Eric mailing list