I have co'd existing code from an SVN repo that uses full imports - by which I mean:
-->projectdir
-------->dira
-------------->a1.py
-------------->a2.py
-------->dirb
-------------->b1.py
Suppose a1.py imports a method from a2.py:
Normally I would simply write:
from a2 import xyz
Here they have written it as:
from project_dir.dira.a2 import xyz
How do I make eclipse recogonize these imports?
Basically I want to be able to Ctrl+click and Open Declaration. I need to browse through this massive project and I simply cannot do so until this works.
PS:
- I have tried adding the projectdir to the PYTHONPATH
- I have tried adding each and every sub-directory to PYTHONPATH
- I have an init in every folder -_-