feature: exclude externals deps
elanzini opened this issue · 5 comments
elanzini commented
Thanks @thebjorn for the great work!
Is it feasible to add an additional arg --exclude-external
that allows to exclude external deps and only look at imports for internal modules?
I tried using the --only
flag but without success, maybe I am doing it wrong running:
pydeps --show-deps --only /path/to/app --no-output app
thebjorn commented
Try:
> cd /path/to
> pydeps --only app --show-deps app
MODULE_PATH
in the docs is a dotted/importable name.
elanzini commented
That does the trick, thank you!
anilbey commented
Hi I need the same feature but when I try the following
❯ pydeps --only app --deps-output app_deps.svg
I get this error below
pydeps: error: the following arguments are required: fname
Am I using it wrong?