alecthomas / alecthomas/importmagic

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

Offen
#61 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
122
Forks
21
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.