|
|
|
|
|
by SushiHippie
870 days ago
|
|
Could it be, that this can't check absolute imports? My python project, has many files which depend on each other, but are not linked together in the generated graph. But one of my modules has a __init__.py with relative imports, and this shows links between the files imported in the __init__.py. Lets say my project looks like this: src/example/foo.py src/example/bar.py And If bar.py containse the statement "from example.foo import Foo" there is no link between the files foo and bar.
Though, if the statement is "from .foo import Foo" it shows a link. |
|
export PYTHONPATH=src