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.
<br><br>Jake<br><br><div class="gmail_quote">On Dec 30, 2007 7:45 AM, Flavio Coelho <<a href="mailto:fccoelho@gmail.com">fccoelho@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Jake, <br><br>As far as I know Eric does not adds project folders to the Python (though it would be an interesting feature)<br> <br>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.
<br><br>it is simple and it works for me without having to move or copy source files.<br><br>Flávio<br><br><div><div><div></div><div class="Wj3C7c"><span class="gmail_quote">On 12/29/07, <b class="gmail_sendername">Jake B
</b> <<a href="mailto:otakuj462@gmail.com" target="_blank">
otakuj462@gmail.com</a>> wrote:</span></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi,<br>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:
<br><br>workspace_eric/<br> django/<br> bin/<br> ...<br> __init__.py<br> fbproject/<br> fbapp/<br> __init__.py<br> models.py<br> urls.py<br> views.py
<br> __init.py__<br> manage.py<br> settings.py<br> urls.py<br><br>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
<i>runserver</i>, 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?<br>Thanks.<br><span>
<br> Jake<br></span><br></div></div>_______________________________________________<br>Eric mailing list<br><a href="mailto:Eric@riverbankcomputing.com" target="_blank">Eric@riverbankcomputing.com
</a><br><a href="http://www.riverbankcomputing.com/mailman/listinfo/eric" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/eric</a><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Flávio Codeço Coelho<br>----------------------------------------------------------------<br>"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."
<br>Indira Gandhi<br>====================================<br>registered Linux user # 386432<br>get counted at <a href="http://counter.li.org" target="_blank">http://counter.li.org</a><br>----------------------------------------------------------------
</blockquote></div><br>