Most efficient way of setting up a project Pydev PYTHONPATH in Eclipse (Helios)? -
i want add folders in pydev project pythonpath can reap benefits of seeing unused imports etc. seemingly have add folders manually including subfolders, 1 one. there way add them @ once (recursively) or doing wrong?
now right click project in navigator , select preferences. there go pydev-pythonpath , can add folders.
ok, give proper answer, should add folder(s) want in pythonpath source folder(s).
so, if have structure such as
/myproject /myproject/src /myproject/package /myproject/package/__init__.py /myproject/package2 /myproject/package2/__init__.py
you'd want add /myproject/src pythonpath.
if had multiple folders add there, edit .pydevproject file (which @ root of project) , add multiple folders there @ once (although noted, should have few folders there, so, not needed -- although may want if you're adding multiple libraries folder or alike).
the pydev faq explains on items listed below:
how import existing projects/sources pydev?
how import existing projects/sources django project pydev?
Comments
Post a Comment