alecthomas / alecthomas/importmagic

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

Aperta
#61 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
122
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.