Bjorn
Bjorn
interesting. I'll take a deeper look at it later in the week when I get some free time :-)
Sorry that this took a little while. Could you test the (undocumented) `--max-module-depth` flag in v1.10.19 available on PyPI? ``` pydeps --max-module-depth=2 packagename ``` It should work with the `--cluster`...
@namoscagnm it's a reasonable idea, but considerable effort is made to get the analysis into a `DepGraph` instance and for it to be easy to work with, so it's better...
It looks like python 3.9 will change the .pyc format (or perhaps just the marshal/pickle protocol). The solution probably involves comparing https://github.com/python/cpython/blob/master/Lib/modulefinder.py to pydeps' version... A cursory look indicates that...
IIRC, it's almost entirely due to the bug that is fixed in https://github.com/thebjorn/pydeps/blob/master/pydeps/mf27.py#L503 (original line commented out below). It doesn't stop Python's modulefinder.py from finding all modules, but it doesn't...
Yes, unfortunately the bundled modulefinder has an issue in Python 3.8-10 (https://github.com/python/cpython/issues/84530) that prevents direct usage, see #139, #140, #141.
I guess that depends on which python version you are on, but I agree it's sub-optimal. Just pushing in the native modulefinder will also break (with the bug above) on...
Hi @GaoxiangLi and thank you for your interest in pydeps. This is almost certainly possible, although not something I've been planning to do... PRs are always very welcome :-)
There is a one-to-one correspondence between modules and file names in python, i.e. module `a.b.c` is either in file `a/b/c.py` or `a/b/c/__init__.py`. Besides that you can look at the intermediate...
Hi Alexander, and thank you for your interest in pydeps. I'm not sure I understand what you mean when you say: > and mydir.controller imports and uses mydir.database, then this...