alecthomas / importmagic

A Python library for finding unresolved symbols in Python code, and the corresponding imports
BSD 2-Clause "Simplified" License
120 stars 20 forks source link

How can I make importmagic.el to find modules installed under pip install -e .? #61

Open avatar-lavventura opened 2 years ago

avatar-lavventura commented 2 years ago

I have done pip install -e . in my project where I have to import all the files as:

from broker._utils._log import log
from broker._utils.tools import QuietExit, print_tb
from broker.utils import tools
$ tree
├── broker
│   ├── _utils
│       ├── _log.py
│       ├── tools.py

But importmagic does not find any modue names under broker like import broker._utils._log.py.

Would it be possible to force it to see them as well?